2014-10-20 14:32:44 +02:00
|
|
|
# Template file for 'pinentry'
|
|
|
|
pkgname=pinentry
|
2015-09-19 10:36:16 +02:00
|
|
|
version=0.9.6
|
2014-10-20 14:32:44 +02:00
|
|
|
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"
|
2015-07-02 09:17:03 +02:00
|
|
|
makedepends="ncurses-devel gtk+-devel libassuan-devel libgpg-error-devel"
|
2014-10-20 14:32:44 +02:00
|
|
|
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"
|
2015-09-19 10:36:16 +02:00
|
|
|
checksum=2a1124e9097f24f866cab7982610677e222cea71be0a71a5566f223177e01e66
|
2015-06-04 09:44:07 +02:00
|
|
|
|
|
|
|
pre_build() {
|
|
|
|
sed -e 's,ncursesw/curses.h,curses.h,' -i pinentry/pinentry-curses.c
|
|
|
|
}
|
2014-10-20 14:32:44 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|