[arch-commits] Commit in pinentry/repos (6 files)
Gaetan Bisson
bisson at archlinux.org
Fri Dec 4 21:28:33 UTC 2015
Date: Friday, December 4, 2015 @ 22:28:33
Author: bisson
Revision: 252356
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
pinentry/repos/staging-i686/
pinentry/repos/staging-i686/PKGBUILD
(from rev 252355, pinentry/trunk/PKGBUILD)
pinentry/repos/staging-i686/pinentry.install
(from rev 252355, pinentry/trunk/pinentry.install)
pinentry/repos/staging-x86_64/
pinentry/repos/staging-x86_64/PKGBUILD
(from rev 252355, pinentry/trunk/PKGBUILD)
pinentry/repos/staging-x86_64/pinentry.install
(from rev 252355, pinentry/trunk/pinentry.install)
---------------------------------+
staging-i686/PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++
staging-i686/pinentry.install | 20 +++++++++++++++++++
staging-x86_64/PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++
staging-x86_64/pinentry.install | 20 +++++++++++++++++++
4 files changed, 120 insertions(+)
Copied: pinentry/repos/staging-i686/PKGBUILD (from rev 252355, pinentry/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2015-12-04 21:28:33 UTC (rev 252356)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+pkgname=pinentry
+pkgver=0.9.6
+pkgrel=1
+pkgdesc="a collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol"
+arch=('i686' 'x86_64')
+license=('GPL')
+url="http://gnupg.org/related_software/pinentry/"
+depends=('ncurses' 'libcap>=2.16' 'libassuan')
+makedepends=('gtk2' 'qt4')
+optdepends=('gtk2: for gtk2 backend'
+ 'qt4: for qt4 backend')
+source=(ftp://ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2{,.sig})
+install=pinentry.install
+sha1sums=('296992d7b26ba2a517b093ccae26bc00b88b3bb5'
+ 'SKIP')
+validpgpkeys=('D8692123C4065DEA5E0F3AB5249B39D24F25E3B6') # Werner Koch
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ #for file in qt4/*.moc; do
+ # moc-qt4 ${file/.moc/.h} > ${file}
+ # done
+
+ # https://bugs.gnupg.org/gnupg/issue1961
+ CXXFLAGS+=' -std=c++11'
+
+ ./configure --prefix=/usr \
+ --enable-pinentry-curses \
+ --enable-pinentry-gtk2 \
+ --enable-pinentry-qt4 \
+ --enable-fallback-curses
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ make DESTDIR=${pkgdir} install
+}
Copied: pinentry/repos/staging-i686/pinentry.install (from rev 252355, pinentry/trunk/pinentry.install)
===================================================================
--- staging-i686/pinentry.install (rev 0)
+++ staging-i686/pinentry.install 2015-12-04 21:28:33 UTC (rev 252356)
@@ -0,0 +1,20 @@
+infodir=usr/share/info
+filelist=(pinentry.info)
+
+post_install() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info $infodir/$file.gz $infodir/dir 2> /dev/null
+ done
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
+ done
+}
Copied: pinentry/repos/staging-x86_64/PKGBUILD (from rev 252355, pinentry/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2015-12-04 21:28:33 UTC (rev 252356)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+pkgname=pinentry
+pkgver=0.9.6
+pkgrel=1
+pkgdesc="a collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol"
+arch=('i686' 'x86_64')
+license=('GPL')
+url="http://gnupg.org/related_software/pinentry/"
+depends=('ncurses' 'libcap>=2.16' 'libassuan')
+makedepends=('gtk2' 'qt4')
+optdepends=('gtk2: for gtk2 backend'
+ 'qt4: for qt4 backend')
+source=(ftp://ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2{,.sig})
+install=pinentry.install
+sha1sums=('296992d7b26ba2a517b093ccae26bc00b88b3bb5'
+ 'SKIP')
+validpgpkeys=('D8692123C4065DEA5E0F3AB5249B39D24F25E3B6') # Werner Koch
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ #for file in qt4/*.moc; do
+ # moc-qt4 ${file/.moc/.h} > ${file}
+ # done
+
+ # https://bugs.gnupg.org/gnupg/issue1961
+ CXXFLAGS+=' -std=c++11'
+
+ ./configure --prefix=/usr \
+ --enable-pinentry-curses \
+ --enable-pinentry-gtk2 \
+ --enable-pinentry-qt4 \
+ --enable-fallback-curses
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ make DESTDIR=${pkgdir} install
+}
Copied: pinentry/repos/staging-x86_64/pinentry.install (from rev 252355, pinentry/trunk/pinentry.install)
===================================================================
--- staging-x86_64/pinentry.install (rev 0)
+++ staging-x86_64/pinentry.install 2015-12-04 21:28:33 UTC (rev 252356)
@@ -0,0 +1,20 @@
+infodir=usr/share/info
+filelist=(pinentry.info)
+
+post_install() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info $infodir/$file.gz $infodir/dir 2> /dev/null
+ done
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
+ done
+}
More information about the arch-commits
mailing list