pinentry-gtk2: 0.9.5 -> 0.9.7

This commit is contained in:
Thomas Penteker 2016-06-01 22:29:07 +02:00
parent 6e03eb3218
commit 66d63d2e82
2 changed files with 5 additions and 6 deletions

View File

@ -1 +1 @@
55439c4436b59573a29e144916ee5b61 pinentry-0.9.5.tar.bz2
9510b2de013e818dab619e468298703a pinentry-0.9.7.tar.bz2

View File

@ -5,22 +5,21 @@
# Depends on: pinentry, gtk
name=pinentry-gtk2
version=0.9.5
version=0.9.7
release=1
source=(ftp://ftp.gnupg.org/gcrypt/pinentry/pinentry-$version.tar.bz2)
build() {
cd pinentry-$version
sed -i 's|<ncursesw/|<|g' pinentry/pinentry-curses.c
./configure \
--prefix=/usr \
--disable-pinentry-{curses,qt4} \
--disable-pinentry-{curses,qt,qt5} \
--enable-pinentry-gtk2
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/share
rm $PKG/usr/bin/pinentry{,-emacs}
rm $PKG/usr/bin/pinentry
}