mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 18:14:36 +08:00
35 lines
895 B
Bash
35 lines
895 B
Bash
pkgname=pinentry
|
|
pkgver=0.9.6
|
|
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>=2.16')
|
|
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=('ab27ee5f9c3079842a9becd7ef7605cc')
|
|
|
|
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
|
|
}
|