pkgname=npth pkgver=1.8 pkgrel=1 pkgdesc="The new GNU portable threads library" arch=('x86_64') url="https://www.gnupg.org/software/npth/index.html" license=('LGPL-2.1-or-later') depends=('glibc' 'bash') source=(https://www.gnupg.org/ftp/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2) sha256sums=(8bd24b4f23a3065d6e5b26e98aba9ce783ea4fd781069c1b35d149694e90ca3e) build() { cd ${pkgname}-${pkgver} local configure_args=( ${configure_options} ) ./configure ${configure_args[@]} make } package() { cd ${pkgname}-${pkgver} make DESTDIR=${pkgdir} install }