pkgname=libedit pkgver=20240808_3.1 pkgrel=1 pkgdesc="Command line editor library providing generic line editing, history, and tokenization functions" arch=('x86_64') url="https://thrysoee.dk/editline/" license=('BSD-3-Clause') depends=('glibc' 'ncurses') source=(https://thrysoee.dk/editline/${pkgname}-${pkgver/_/-}.tar.gz) sha256sums=(5f0573349d77c4a48967191cdd6634dd7aa5f6398c6a57fe037cc02696d6099f) build() { cd ${pkgname}-${pkgver/_/-} local configure_args=( ${configure_options} ) ./configure ${configure_args[@]} make } package() { cd ${pkgname}-${pkgver/_/-} make DESTDIR=${pkgdir} install }