summaryrefslogtreecommitdiff
path: root/testing/pinentry/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-07-13 23:12:30 +0000
committerroot <root@rshg047.dnsready.net>2011-07-13 23:12:30 +0000
commit29657877f6a02dbba1bd58b417b4ccd211939690 (patch)
tree0213b621a87e176f90d19cf8e894d1da8fd0d1b6 /testing/pinentry/PKGBUILD
parent079c689ef9b252fd82dbf9b182ec2517c48f8737 (diff)
Wed Jul 13 23:12:30 UTC 2011
Diffstat (limited to 'testing/pinentry/PKGBUILD')
-rw-r--r--testing/pinentry/PKGBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/pinentry/PKGBUILD b/testing/pinentry/PKGBUILD
new file mode 100644
index 000000000..71baf5bdc
--- /dev/null
+++ b/testing/pinentry/PKGBUILD
@@ -0,0 +1,40 @@
+# $Id: PKGBUILD 131244 2011-07-12 07:40:08Z tpowa $
+# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
+pkgname=pinentry
+pkgver=0.8.1
+pkgrel=2
+pkgdesc="a collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol"
+arch=('i686' 'x86_64')
+license=('GPL')
+url="http://www.gnupg.org/aegypten2"
+depends=('ncurses' 'libcap>=2.16')
+makedepends=('gtk' 'qt3' 'gtk2' 'qt')
+optdepends=('gtk: for gtk backend'
+ 'gtk2: for gtk2 backend'
+ 'qt3: for qt3 backend'
+ 'qt: for qt4 backend')
+source=(ftp://ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$pkgver.tar.gz
+ gtk2-pinentry-segfault.patch)
+install=pinentry.install
+
+build() {
+ cd $startdir/src/$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 \
+ --enable-pinentry-gtk \
+ --enable-pinentry-gtk2 \
+ --enable-pinentry-qt \
+ --enable-pinentry-qt4 \
+ --enable-fallback-curses
+ make
+ make DESTDIR=${pkgdir} install
+ rm ${pkgdir}/usr/share/info/dir
+ rm ${pkgdir}/usr/bin/pinentry
+ ln -s /usr/bin/pinentry-gtk-2 ${pkgdir}/usr/bin/pinentry
+}
+md5sums=('81f99904daee5331eb6738408bb024b6'
+ 'bd9888fafc56464b2c4deaad5b8edb07')