[arch-commits] Commit in pinentry/repos (4 files)
Gaëtan Bisson
bisson at archlinux.org
Tue Apr 24 21:56:34 UTC 2018
Date: Tuesday, April 24, 2018 @ 21:56:33
Author: bisson
Revision: 322950
db-move: moved pinentry from [testing] to [core] (x86_64)
Added:
pinentry/repos/core-x86_64/PKGBUILD
(from rev 322949, pinentry/repos/testing-x86_64/PKGBUILD)
pinentry/repos/core-x86_64/pinentry
(from rev 322949, pinentry/repos/testing-x86_64/pinentry)
Deleted:
pinentry/repos/core-x86_64/PKGBUILD
pinentry/repos/testing-x86_64/
----------------------+
/PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++
core-x86_64/PKGBUILD | 41 -----------------------------------------
core-x86_64/pinentry | 5 +++++
3 files changed, 49 insertions(+), 41 deletions(-)
Deleted: core-x86_64/PKGBUILD
===================================================================
--- core-x86_64/PKGBUILD 2018-04-24 21:11:21 UTC (rev 322949)
+++ core-x86_64/PKGBUILD 2018-04-24 21:56:33 UTC (rev 322950)
@@ -1,41 +0,0 @@
-# $Id$
-# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
-# Maintainer: Gaetan Bisson <bisson at archlinux.org>
-
-pkgname=pinentry
-pkgver=1.1.0
-pkgrel=1
-pkgdesc='Collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol'
-url='http://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')
-source=("ftp://ftp.gnupg.org/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2"{,.sig})
-sha256sums=('68076686fa724a290ea49cdf0d1c0c1500907d1b759a3bcbfbec0293e8f56570'
- 'SKIP')
-validpgpkeys=('D8692123C4065DEA5E0F3AB5249B39D24F25E3B6')
-
-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
-}
Copied: pinentry/repos/core-x86_64/PKGBUILD (from rev 322949, pinentry/repos/testing-x86_64/PKGBUILD)
===================================================================
--- core-x86_64/PKGBUILD (rev 0)
+++ core-x86_64/PKGBUILD 2018-04-24 21:56:33 UTC (rev 322950)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+
+pkgname=pinentry
+pkgver=1.1.0
+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')
+license=('GPL')
+depends=('ncurses' 'libcap' 'libassuan' 'libsecret')
+makedepends=('gtk2' 'qt5-base' 'gcr')
+optdepends=('gtk2: gtk2 backend'
+ 'qt5-base: qt backend'
+ 'gcr: gnome3 backend')
+source=("ftp://ftp.gnupg.org/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2"{,.sig}
+ 'pinentry')
+sha256sums=('68076686fa724a290ea49cdf0d1c0c1500907d1b759a3bcbfbec0293e8f56570'
+ 'SKIP'
+ '50d651d7379dc160bf08a1f888e364fb366e2658c0a709f78a3d7965c3f2224d')
+validpgpkeys=('D8692123C4065DEA5E0F3AB5249B39D24F25E3B6')
+
+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 -Dt "${pkgdir}/usr/bin" ../pinentry
+}
Copied: pinentry/repos/core-x86_64/pinentry (from rev 322949, pinentry/repos/testing-x86_64/pinentry)
===================================================================
--- core-x86_64/pinentry (rev 0)
+++ core-x86_64/pinentry 2018-04-24 21:56:33 UTC (rev 322950)
@@ -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 "$@"
More information about the arch-commits
mailing list