pkgname=gdbm pkgver=1.24 pkgrel=1 pkgdesc="GNU database library" arch=('x86_64') url="https://www.gnu.org/software/gdbm/" license=('GPL-3.0-or-later') depends=('glibc' 'bash') makedepends=('readline') source=(https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz) sha256sums=(695e9827fdf763513f133910bc7e6cfdb9187943a4fec943e57449723d2b8dbf) build() { cd ${pkgname}-${pkgver} local configure_args=( --disable-static --enable-libgdbm-compat ${configure_options} ) ./configure ${configure_args[@]} make } package() { cd ${pkgname}-${pkgver} make DESTDIR=${pkgdir} install }