[arch-commits] Commit in pinentry/repos (3 files)
Felix Yan
felixonmars at archlinux.org
Wed Nov 13 17:17:37 UTC 2019
Date: Wednesday, November 13, 2019 @ 17:17:36
Author: felixonmars
Revision: 368321
archrelease: copy trunk to staging-x86_64
Added:
pinentry/repos/staging-x86_64/
pinentry/repos/staging-x86_64/PKGBUILD
(from rev 368320, pinentry/trunk/PKGBUILD)
pinentry/repos/staging-x86_64/pinentry
(from rev 368320, pinentry/trunk/pinentry)
----------+
PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++
pinentry | 6 ++++++
2 files changed, 51 insertions(+)
Copied: pinentry/repos/staging-x86_64/PKGBUILD (from rev 368320, pinentry/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2019-11-13 17:17:36 UTC (rev 368321)
@@ -0,0 +1,45 @@
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+
+pkgname=pinentry
+pkgver=1.1.0
+pkgrel=5
+pkgdesc='Collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol'
+url='https://gnupg.org/related_software/pinentry/'
+arch=('x86_64')
+license=('GPL')
+depends=('ncurses' 'libcap' 'libassuan' 'libsecret')
+makedepends=('gtk2' 'qt5-base' 'gcr')
+optdepends=('gtk2: gtk2 backend'
+ 'qt5-base: qt backend'
+ 'gcr: gnome3 backend')
+validpgpkeys=('D8692123C4065DEA5E0F3AB5249B39D24F25E3B6')
+source=("https://www.gnupg.org/ftp/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2"{,.sig}
+ 'pinentry')
+sha256sums=('68076686fa724a290ea49cdf0d1c0c1500907d1b759a3bcbfbec0293e8f56570'
+ 'SKIP'
+ '4f51d67c8cf92f2bb535e07d2ba7dc8972535dae077c678102a34fb87f3b3a9c')
+
+backup=('usr/bin/pinentry')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure \
+ --prefix=/usr \
+ --enable-pinentry-tty \
+ --enable-pinentry-curses \
+ --enable-fallback-curses \
+ --enable-pinentry-emacs \
+ --enable-pinentry-gtk2 \
+ --enable-pinentry-gnome3 \
+ --enable-pinentry-qt \
+ --enable-libsecret \
+
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ install ../pinentry "${pkgdir}/usr/bin/pinentry"
+}
Copied: pinentry/repos/staging-x86_64/pinentry (from rev 368320, pinentry/trunk/pinentry)
===================================================================
--- staging-x86_64/pinentry (rev 0)
+++ staging-x86_64/pinentry 2019-11-13 17:17:36 UTC (rev 368321)
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+test -e /usr/lib/libgtk-x11-2.0.so.0 &&
+exec /usr/bin/pinentry-gtk-2 "$@"
+
+exec /usr/bin/pinentry-curses "$@"
More information about the arch-commits
mailing list