pkgname=pinentry pkgver=1.3.1 pkgrel=1 pkgdesc="Collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol" arch=('x86_64') url="https://gnupg.org/related_software/pinentry/" depends=('glibc' 'ncurses' 'libassuan' 'libgpg-error') source=(https://www.gnupg.org/ftp/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2) sha256sums=(bc72ee27c7239007ab1896c3c2fae53b076e2c9bd2483dc2769a16902bce8c04) build() { cd ${pkgname}-${pkgver} local configure_args=( --enable-pinentry-tty ${configure_options} ) ./configure ${configure_args[@]} make } package() { cd ${pkgname}-${pkgver} make DESTDIR=${pkgdir} install }