# Contributor: Sören Tempel # Maintainer: Natanael Copa pkgname=pinentry pkgver=1.1.0 pkgrel=3 pkgdesc="Collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol" url="https://www.gnupg.org/aegypten2/" arch="all" license="GPL-2.0-or-later" install="pinentry.post-install" makedepends="ncurses-dev libcap-dev libgpg-error-dev libassuan-dev gcr-dev libsecret-dev" subpackages="$pkgname-doc" source="https://gnupg.org/ftp/gcrypt/pinentry/pinentry-$pkgver.tar.bz2" build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --disable-pinentry-gtk \ --disable-pinentry-gtk2 \ --disable-pinentry-gnome3 \ --disable-pinentry-qt \ --enable-pinentry-curses \ --enable-fallback-curses \ --enable-libsecret make } check() { make check } package() { make DESTDIR="$pkgdir" install # created by post install scripts so we can override with other UI versions rm -f "$pkgdir"/usr/bin/pinentry } sha512sums="5012672925bcb5f683358c259e55e4b87c67cf063ad52c759308933733025c33f7ce08e5b8019ffc101cbf7ef30499040ef2fd34a7611698e65e1593f80948cd pinentry-1.1.0.tar.bz2"