core/pinentry/PKGBUILD
2018-01-22 00:42:57 +01:00

35 lines
913 B
Bash

pkgname=pinentry
pkgver=1.1.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' 'libsecret')
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=('3829315cb0a1e9cedc05ffe6def7a2c6')
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
}