pinentry: enable pinentry-tty

Closes: #12220 [via git-merge-pr]
This commit is contained in:
copyleftie 2018-03-06 16:52:16 -05:00 committed by Toyam Cox
parent 30332aa2e6
commit 946921b946
2 changed files with 10 additions and 1 deletions

1
srcpkgs/pinentry-tty Symbolic link
View File

@ -0,0 +1 @@
pinentry

View File

@ -5,7 +5,7 @@ revision=1
build_style=gnu-configure
configure_args="--disable-rpath --without-libcap --disable-pinentry-gtk
--enable-pinentry-curses --enable-fallback-curses --enable-pinentry-gtk2
--enable-pinentry-emacs --enable-pinentry-qt"
--enable-pinentry-emacs --enable-pinentry-qt --enable-pinentry-tty"
hostmakedepends="pkg-config"
makedepends="ncurses-devel gtk+-devel libassuan-devel libgpg-error-devel qt5-devel"
short_desc="PIN or passphrase entry dialogs for GnuPG"
@ -27,6 +27,14 @@ post_install() {
rm ${DESTDIR}/usr/bin/pinentry
}
pinentry-tty_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" for dumb terminals"
pkg_install() {
vmove usr/bin/pinentry-tty
}
}
pinentry-qt_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" based on Qt"