fix pinentry port

removed the pinentry-gtk replacing with a modified pinentry that won't fail to install with overlay
This commit is contained in:
mac-a-r0ni 2023-09-11 15:12:21 -04:00
parent caf5ad5ac4
commit a837e85c98
5 changed files with 28 additions and 27 deletions

View File

@ -1,27 +0,0 @@
# Description: Secure PinEntry Dialog for GTK
# URL: https://gnupg.org/related_software/pinentry/
# Maintainer: mac-a-r0ni, j at lngn dot net
# Depends on: libassuan libcap gcr3
# Optional: libsecret
name=pinentry-gtk
version=1.2.1
release=1
source=(https://gnupg.org/ftp/gcrypt/pinentry/pinentry-$version.tar.bz2
pinentry)
build() {
cd pinentry-$version
./configure \
--prefix=/usr \
--disable-pinentry-{curses,qt,qt5} \
--enable-pinentry-gtk2
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/share
rm $PKG/usr/bin/pinentry
install -m 755 $SRC/pinentry $PKG/usr/bin/pinentry
}

View File

@ -1,4 +1,5 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/pinentry
-rwxr-xr-x root/root usr/bin/pinentry-curses
-rwxr-xr-x root/root usr/bin/pinentry-gnome3

27
pinentry/Pkgfile Normal file
View File

@ -0,0 +1,27 @@
# Description: Secure PinEntry Dialog
# URL: https://gnupg.org/related_software/pinentry/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: libassuan libcap util-linux
# Optional: libsecret
name=pinentry
version=1.2.1
release=1
source=(https://gnupg.org/ftp/gcrypt/$name/$name-$version.tar.bz2
pinentry)
build() {
cd $name-$version
./configure \
--prefix=/usr \
--disable-pinentry-{qt,qt5} \
--enable-pinentry-{curses,gtk2}
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/share
rm $PKG/usr/bin/pinentry
install -m 755 $SRC/pinentry $PKG/usr/bin/pinentry
}