core/pinentry/PKGBUILD

36 lines
941 B
Bash
Raw Normal View History

2013-06-15 03:45:22 +08:00
# maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
2010-03-14 23:48:48 +08:00
pkgname=pinentry
2013-06-15 03:45:22 +08:00
pkgver=0.8.3
2013-09-08 08:22:21 +08:00
pkgrel=2
2010-03-14 23:48:48 +08:00
pkgdesc="a collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol"
2013-06-15 03:57:34 +08:00
arch=('x86_64')
2010-03-14 23:48:48 +08:00
license=('GPL')
url="http://www.gnupg.org/aegypten2"
depends=('ncurses' 'libcap>=2.16')
makedepends=('qt')
optdepends=('qt: for qt4 backend')
2013-06-15 03:45:22 +08:00
source=(ftp://ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2)
md5sums=('2ae681cbca0d9fb774b2c90b11ebf56c')
2010-03-14 23:48:48 +08:00
build() {
cd ${srcdir}/$pkgname-$pkgver
[ "$QTDIR" = "" ] # && source /etc/profile.d/qt3.sh
2010-03-14 23:48:48 +08:00
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 \
2010-03-14 23:48:48 +08:00
--enable-pinentry-qt4 \
--enable-fallback-curses
2013-06-15 03:45:22 +08:00
make
}
package() {
cd ${srcdir}/$pkgname-$pkgver
2013-06-15 03:45:22 +08:00
make DESTDIR=${pkgdir} install
2010-03-14 23:48:48 +08:00
}