New package: pinentry-0.8.4.

This commit is contained in:
Eivind Uggedal 2014-10-20 12:32:44 +00:00
parent 3270b06956
commit f5c6ab729e
6 changed files with 49 additions and 0 deletions

1
srcpkgs/pinentry-gtk Symbolic link
View file

@ -0,0 +1 @@
pinentry

5
srcpkgs/pinentry/INSTALL Normal file
View file

@ -0,0 +1,5 @@
case ${ACTION} in
post)
ln -sf pinentry-curses usr/bin/pinentry
;;
esac

5
srcpkgs/pinentry/REMOVE Normal file
View file

@ -0,0 +1,5 @@
case ${ACTION} in
purge)
rm -f usr/bin/pinentry
;;
esac

View file

@ -0,0 +1,5 @@
case ${ACTION} in
post)
ln -sf pinentry-gtk-2 usr/bin/pinentry
;;
esac

View file

@ -0,0 +1,6 @@
case ${ACTION} in
purge)
rm -f usr/bin/pinentry
[ -f usr/bin/pinentry-curses ] && ln -sf pinentry-curses usr/bin/pinentry
;;
esac

27
srcpkgs/pinentry/template Normal file
View file

@ -0,0 +1,27 @@
# Template file for 'pinentry'
pkgname=pinentry
version=0.8.4
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=359db3bf46cb743ba0b3aeef259f6107271ca888ba3e22c1cba525c9aca35612
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
}
}