summaryrefslogtreecommitdiff
path: root/core/pinentry/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-06-08 10:51:38 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2012-06-08 10:51:38 +0200
commit86c07f860ec2bad836bce1eaf59b923aa5c3a5cc (patch)
treeee11bae8aa26c33b36cbdbcedb78e0d685fa4a52 /core/pinentry/PKGBUILD
parent3187d2ae8f540fd5f918eecc4d63b6f305bba632 (diff)
parent7d11e9346ebd0f9c378952caee0c82d6ca815f4e (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/chmsee/PKGBUILD community/haveged/PKGBUILD core/pinentry/PKGBUILD extra/vim/PKGBUILD
Diffstat (limited to 'core/pinentry/PKGBUILD')
-rw-r--r--core/pinentry/PKGBUILD19
1 files changed, 11 insertions, 8 deletions
diff --git a/core/pinentry/PKGBUILD b/core/pinentry/PKGBUILD
index ca098263f..5ae256a42 100644
--- a/core/pinentry/PKGBUILD
+++ b/core/pinentry/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 146747 2012-01-16 22:52:55Z dreisner $
+# $Id: PKGBUILD 160802 2012-06-06 10:36:53Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
pkgname=pinentry
pkgver=0.8.1
-pkgrel=3
+pkgrel=4
pkgdesc="a collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol"
arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
@@ -12,11 +12,13 @@ makedepends=('gtk2' 'qt')
optdepends=('gtk2: for gtk2 backend'
'qt: for qt4 backend')
source=(ftp://ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$pkgver.tar.gz
- gtk2-pinentry-segfault.patch)
+ qt4-pinentry-window.patch)
install=pinentry.install
build() {
cd $srcdir/$pkgname-$pkgver
+ #fix: https://bugs.archlinux.org/task/29998
+ patch -Np1 -i ../qt4-pinentry-window.patch
for file in qt4/*.moc; do
/usr/bin/moc ${file/.moc/.h} > ${file}
done
@@ -27,11 +29,12 @@ build() {
--enable-pinentry-gtk2 \
--enable-pinentry-qt4 \
--enable-fallback-curses
- make
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
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')
+ '450b8713fe42f1bd93311ef84767c3d8')