core/pinentry/PKGBUILD

35 lines
895 B
Bash
Raw Normal View History

2010-03-14 23:48:48 +08:00
pkgname=pinentry
2016-03-15 22:34:30 +08:00
pkgver=0.9.7
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=('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
2016-03-15 22:34:30 +08:00
md5sums=('9510b2de013e818dab619e468298703a')
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 \
--enable-fallback-curses \
2015-07-09 22:08:21 +08:00
--enable-pinentry-tty \
--disable-pinentry-gnome3 \
2014-12-12 17:53:46 +08:00
--disable-pinentry-gtk2 \
--enable-pinentry-qt \
2015-07-09 22:08:21 +08:00
--enable-pinentry-emacs \
--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
}