# maintainer: Neophytos Kolokotronis pkgname=pinentry pkgver=0.8.3 pkgrel=2 pkgdesc="a collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol" arch=('x86_64') license=('GPL') url="http://www.gnupg.org/aegypten2" depends=('ncurses' 'libcap>=2.16') makedepends=('qt') optdepends=('qt: for qt4 backend') source=(ftp://ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2) md5sums=('2ae681cbca0d9fb774b2c90b11ebf56c') build() { cd ${srcdir}/$pkgname-$pkgver [ "$QTDIR" = "" ] # && source /etc/profile.d/qt3.sh for file in qt4/*.moc; do /usr/bin/moc ${file/.moc/.h} > ${file} done ./configure --prefix=/usr \ --enable-pinentry-curses \ --disable-pinentry-gtk \ --disable-pinentry-gtk2 \ --disable-pinentry-qt \ --enable-pinentry-qt4 \ --enable-fallback-curses make } package() { cd ${srcdir}/$pkgname-$pkgver make DESTDIR=${pkgdir} install }