mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
41 lines
1.3 KiB
Bash
41 lines
1.3 KiB
Bash
# $Id: PKGBUILD 146746 2012-01-16 22:52:53Z dreisner $
|
|
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - rebuild for libpng, remove when bumped upstream
|
|
|
|
pkgname=pinentry
|
|
pkgver=0.8.1
|
|
pkgrel=3.1
|
|
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=('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)
|
|
install=pinentry.install
|
|
|
|
build() {
|
|
cd $startdir/src/$pkgname-$pkgver
|
|
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-qt \
|
|
--enable-pinentry-gtk2 \
|
|
--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')
|