Date: Thursday, April 19, 2018 @ 15:33:46 Author: bisson Revision: 322441
replace pinentry symlink with script to detect installed toolkits, thanks heftig! Added: pinentry/trunk/pinentry Modified: pinentry/trunk/PKGBUILD ----------+ PKGBUILD | 9 ++++++--- pinentry | 5 +++++ 2 files changed, 11 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-04-19 14:09:50 UTC (rev 322440) +++ PKGBUILD 2018-04-19 15:33:46 UTC (rev 322441) @@ -4,7 +4,7 @@ pkgname=pinentry pkgver=1.1.0 -pkgrel=1 +pkgrel=2 pkgdesc='Collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol' url='http://gnupg.org/related_software/pinentry/' arch=('x86_64') @@ -14,9 +14,11 @@ optdepends=('gtk2: gtk2 backend' 'qt5-base: qt backend' 'gcr: gnome3 backend') -source=("ftp://ftp.gnupg.org/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2"{,.sig}) +source=("ftp://ftp.gnupg.org/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2"{,.sig} + 'pinentry') sha256sums=('68076686fa724a290ea49cdf0d1c0c1500907d1b759a3bcbfbec0293e8f56570' - 'SKIP') + 'SKIP' + '50d651d7379dc160bf08a1f888e364fb366e2658c0a709f78a3d7965c3f2224d') validpgpkeys=('D8692123C4065DEA5E0F3AB5249B39D24F25E3B6') build() { @@ -38,4 +40,5 @@ package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install + install -Dt "${pkgdir}/usr/bin" ../pinentry } Added: pinentry =================================================================== --- pinentry (rev 0) +++ pinentry 2018-04-19 15:33:46 UTC (rev 322441) @@ -0,0 +1,5 @@ +#!/bin/sh +test -e /usr/lib/libgcr-base-3.so.1 && exec /usr/bin/pinentry-gnome3 "$@" +test -e /usr/lib/libQt5Widgets.so.5 && exec /usr/bin/pinentry-qt "$@" +test -e /usr/lib/libgtk-x11-2.0.so.0 && exec /usr/bin/pinentry-gtk-2 "$@" +exec /usr/bin/pinentry-curses "$@" Property changes on: pinentry/trunk/pinentry ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property
