void-packages/srcpkgs/pinentry/template

28 lines
867 B
Text
Raw Normal View History

2014-10-20 12:32:44 +00:00
# Template file for 'pinentry'
pkgname=pinentry
2014-11-11 14:44:44 +00:00
version=0.9.0
2014-10-20 12:32:44 +00: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"
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"
2014-11-11 14:44:44 +00:00
checksum=90045a07ab8e1a8e1ecf5d19b51691f195525e579fa5d71d7e92c120b05490ab
2014-10-20 12:32:44 +00: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
}
}