mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 00:42:58 +02:00
New package: pinentry-0.8.4.
This commit is contained in:
parent
3270b06956
commit
f5c6ab729e
6 changed files with 49 additions and 0 deletions
1
srcpkgs/pinentry-gtk
Symbolic link
1
srcpkgs/pinentry-gtk
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
pinentry
|
5
srcpkgs/pinentry/INSTALL
Normal file
5
srcpkgs/pinentry/INSTALL
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
case ${ACTION} in
|
||||||
|
post)
|
||||||
|
ln -sf pinentry-curses usr/bin/pinentry
|
||||||
|
;;
|
||||||
|
esac
|
5
srcpkgs/pinentry/REMOVE
Normal file
5
srcpkgs/pinentry/REMOVE
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
case ${ACTION} in
|
||||||
|
purge)
|
||||||
|
rm -f usr/bin/pinentry
|
||||||
|
;;
|
||||||
|
esac
|
5
srcpkgs/pinentry/pinentry-gtk.INSTALL
Normal file
5
srcpkgs/pinentry/pinentry-gtk.INSTALL
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
case ${ACTION} in
|
||||||
|
post)
|
||||||
|
ln -sf pinentry-gtk-2 usr/bin/pinentry
|
||||||
|
;;
|
||||||
|
esac
|
6
srcpkgs/pinentry/pinentry-gtk.REMOVE
Normal file
6
srcpkgs/pinentry/pinentry-gtk.REMOVE
Normal 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
27
srcpkgs/pinentry/template
Normal 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
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue