core/pinentry/PKGBUILD
2017-01-03 01:27:44 +00:00

35 lines
901 B
Bash

pkgname=pinentry
pkgver=1.0.0
pkgrel=1
pkgdesc="a collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol"
arch=('x86_64')
license=('GPL')
url="http://gnupg.org/related_software/pinentry/"
depends=('ncurses' 'libcap' 'libassuan')
makedepends=('qt5-base')
optdepends=('qt5-base: for Qt5 backend'
'emacs: emacs integration')
source=(ftp://ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2)
install=pinentry.install
md5sums=('4a3fad8b31f9b4c5526c8837495015dc')
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr \
--enable-pinentry-curses \
--enable-fallback-curses \
--enable-pinentry-tty \
--disable-pinentry-gnome3 \
--disable-pinentry-gtk2 \
--enable-pinentry-qt \
--enable-pinentry-emacs \
--enable-inside-emacs
make
}
package() {
cd $srcdir/$pkgname-$pkgver
make DESTDIR=${pkgdir} install
}