2010-03-14 23:48:48 +08:00
|
|
|
pkgname=pinentry
|
2017-01-03 09:27:44 +08:00
|
|
|
pkgver=1.0.0
|
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/"
|
2017-01-03 09:27:44 +08:00
|
|
|
depends=('ncurses' 'libcap' 'libassuan')
|
2015-10-10 21:49:29 +08:00
|
|
|
makedepends=('qt5-base')
|
|
|
|
optdepends=('qt5-base: for Qt5 backend'
|
2015-07-09 22:08:21 +08:00
|
|
|
'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
|
2017-01-03 09:27:44 +08:00
|
|
|
md5sums=('4a3fad8b31f9b4c5526c8837495015dc')
|
2010-03-14 23:48:48 +08:00
|
|
|
|
|
|
|
build() {
|
2014-12-12 17:53:46 +08:00
|
|
|
cd $srcdir/$pkgname-$pkgver
|
|
|
|
|
2010-03-14 23:48:48 +08:00
|
|
|
./configure --prefix=/usr \
|
|
|
|
--enable-pinentry-curses \
|
2015-10-10 21:49:29 +08:00
|
|
|
--enable-fallback-curses \
|
2015-07-09 22:08:21 +08:00
|
|
|
--enable-pinentry-tty \
|
2015-10-10 21:49:29 +08:00
|
|
|
--disable-pinentry-gnome3 \
|
2014-12-12 17:53:46 +08:00
|
|
|
--disable-pinentry-gtk2 \
|
2015-10-10 21:49:29 +08:00
|
|
|
--enable-pinentry-qt \
|
2015-07-09 22:08:21 +08:00
|
|
|
--enable-pinentry-emacs \
|
2015-10-10 21:49:29 +08:00
|
|
|
--enable-inside-emacs
|
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
|
|
|
}
|