28 lines
867 B
Bash
28 lines
867 B
Bash
# Template file for 'pinentry'
|
|
pkgname=pinentry
|
|
version=0.9.2
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-rpath --without-libcap --disable-pinentry-gtk
|
|
--enable-pinentry-curses --enable-fallback-curses --enable-pinentry-gtk2"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="ncurses-devel gtk+-devel"
|
|
short_desc="PIN or passphrase entry dialogs for GnuPG"
|
|
maintainer="Eivind Uggedal <eivind@uggedal.com>"
|
|
license="GPL-2"
|
|
homepage="https://www.gnupg.org/related_software/pinentry/index.html"
|
|
distfiles="ftp://ftp.gnupg.org/gcrypt/${pkgname}/${pkgname}-${version}.tar.bz2"
|
|
checksum=fd8bc1592ceb22bb492b07cb29b1b140bb882c859e6503b974254c0a4b4134d1
|
|
|
|
post_install() {
|
|
rm ${DESTDIR}/usr/bin/pinentry
|
|
}
|
|
|
|
pinentry-gtk_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" based on GTK+"
|
|
pkg_install() {
|
|
vmove usr/bin/pinentry-gtk-2
|
|
}
|
|
}
|