core/pinentry/PKGBUILD

39 lines
994 B
Bash
Raw Normal View History

2010-03-14 23:48:48 +08:00
pkgname=pinentry
2015-07-09 22:08:21 +08:00
pkgver=0.9.5
2014-12-12 17:53:46 +08:00
pkgrel=1
2010-03-14 23:48:48 +08:00
pkgdesc="a collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol"
2015-07-09 22:08:21 +08:00
arch=('x86_64')
2010-03-14 23:48:48 +08:00
license=('GPL')
2014-12-12 17:53:46 +08:00
url="http://gnupg.org/related_software/pinentry/"
2010-03-14 23:48:48 +08:00
depends=('ncurses' 'libcap>=2.16')
makedepends=('qt')
2015-07-09 22:08:21 +08:00
optdepends=('qt: for qt4 backend'
'emacs: emacs integration')
2013-06-15 03:45:22 +08:00
source=(ftp://ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2)
2014-12-12 17:53:46 +08:00
install=pinentry.install
2015-07-09 22:08:21 +08:00
md5sums=('55439c4436b59573a29e144916ee5b61')
2010-03-14 23:48:48 +08:00
build() {
2014-12-12 17:53:46 +08:00
cd $srcdir/$pkgname-$pkgver
2015-07-09 22:08:21 +08:00
#for file in qt4/*.moc; do
# moc ${file/.moc/.h} > ${file}
#done
2010-03-14 23:48:48 +08:00
./configure --prefix=/usr \
--enable-pinentry-curses \
2015-07-09 22:08:21 +08:00
--enable-pinentry-tty \
2014-12-12 17:53:46 +08:00
--disable-pinentry-gtk \
--disable-pinentry-gtk2 \
2010-03-14 23:48:48 +08:00
--enable-pinentry-qt4 \
2015-07-09 22:08:21 +08:00
--enable-pinentry-qt4-clipboard \
--enable-pinentry-emacs \
--enable-inside-emacs \
2010-03-14 23:48:48 +08:00
--enable-fallback-curses
2013-06-15 03:45:22 +08:00
make
}
package() {
2014-12-12 17:53:46 +08:00
cd $srcdir/$pkgname-$pkgver
2013-06-15 03:45:22 +08:00
make DESTDIR=${pkgdir} install
2010-03-14 23:48:48 +08:00
}