[arch-commits] Commit in pinentry/repos (6 files)
Evangelos Foutras
foutrelis at archlinux.org
Thu Sep 10 02:53:33 UTC 2015
Date: Thursday, September 10, 2015 @ 04:53:33
Author: foutrelis
Revision: 245651
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
pinentry/repos/staging-i686/
pinentry/repos/staging-i686/PKGBUILD
(from rev 245650, pinentry/trunk/PKGBUILD)
pinentry/repos/staging-i686/pinentry.install
(from rev 245650, pinentry/trunk/pinentry.install)
pinentry/repos/staging-x86_64/
pinentry/repos/staging-x86_64/PKGBUILD
(from rev 245650, pinentry/trunk/PKGBUILD)
pinentry/repos/staging-x86_64/pinentry.install
(from rev 245650, 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 245650, pinentry/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2015-09-10 02:53:33 UTC (rev 245651)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+pkgname=pinentry
+pkgver=0.9.5
+pkgrel=2
+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')
+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
+md5sums=('55439c4436b59573a29e144916ee5b61'
+ '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 245650, pinentry/trunk/pinentry.install)
===================================================================
--- staging-i686/pinentry.install (rev 0)
+++ staging-i686/pinentry.install 2015-09-10 02:53:33 UTC (rev 245651)
@@ -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 245650, pinentry/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2015-09-10 02:53:33 UTC (rev 245651)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+pkgname=pinentry
+pkgver=0.9.5
+pkgrel=2
+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')
+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
+md5sums=('55439c4436b59573a29e144916ee5b61'
+ '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 245650, pinentry/trunk/pinentry.install)
===================================================================
--- staging-x86_64/pinentry.install (rev 0)
+++ staging-x86_64/pinentry.install 2015-09-10 02:53:33 UTC (rev 245651)
@@ -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