[arch-commits] Commit in gpgme/repos (6 files)

Tobias Powalowski tpowa at archlinux.org
Fri Sep 4 20:28:12 UTC 2015


    Date: Friday, September 4, 2015 @ 22:28:11
  Author: tpowa
Revision: 245326

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  gpgme/repos/testing-i686/
  gpgme/repos/testing-i686/PKGBUILD
    (from rev 245325, gpgme/trunk/PKGBUILD)
  gpgme/repos/testing-i686/gpgme.install
    (from rev 245325, gpgme/trunk/gpgme.install)
  gpgme/repos/testing-x86_64/
  gpgme/repos/testing-x86_64/PKGBUILD
    (from rev 245325, gpgme/trunk/PKGBUILD)
  gpgme/repos/testing-x86_64/gpgme.install
    (from rev 245325, gpgme/trunk/gpgme.install)

------------------------------+
 testing-i686/PKGBUILD        |   36 ++++++++++++++++++++++++++++++++++++
 testing-i686/gpgme.install   |   20 ++++++++++++++++++++
 testing-x86_64/PKGBUILD      |   36 ++++++++++++++++++++++++++++++++++++
 testing-x86_64/gpgme.install |   20 ++++++++++++++++++++
 4 files changed, 112 insertions(+)

Copied: gpgme/repos/testing-i686/PKGBUILD (from rev 245325, gpgme/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2015-09-04 20:28:11 UTC (rev 245326)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+# Contributor: Roman Kyrylych <roman at archlinux.org>
+# Contributor: Sarah Hay <sarah at archlinux.org>
+
+pkgname=gpgme
+pkgver=1.6.0
+pkgrel=2
+pkgdesc="A C wrapper library for GnuPG"
+arch=('i686' 'x86_64')
+url="http://www.gnupg.org/related_software/gpgme/"
+license=('LGPL')
+depends=('libgpg-error' 'gnupg>=2')
+install=${pkgname}.install
+options=('!emptydirs')
+source=(ftp://ftp.gnupg.org/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2{,.sig})
+md5sums=('60d730d22e8065fd5de309e8b98e304b'
+         'SKIP')
+validpgpkeys=('D8692123C4065DEA5E0F3AB5249B39D24F25E3B6') # Werner Koch
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  ./configure --prefix=/usr --disable-fd-passing --disable-static \
+              --disable-gpgsm-test
+  make
+}
+
+check() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make check
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
+}

Copied: gpgme/repos/testing-i686/gpgme.install (from rev 245325, gpgme/trunk/gpgme.install)
===================================================================
--- testing-i686/gpgme.install	                        (rev 0)
+++ testing-i686/gpgme.install	2015-09-04 20:28:11 UTC (rev 245326)
@@ -0,0 +1,20 @@
+infodir=usr/share/info
+filelist=(gpgme.info gpgme.info-1 gpgme.info-2)
+
+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: gpgme/repos/testing-x86_64/PKGBUILD (from rev 245325, gpgme/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2015-09-04 20:28:11 UTC (rev 245326)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+# Contributor: Roman Kyrylych <roman at archlinux.org>
+# Contributor: Sarah Hay <sarah at archlinux.org>
+
+pkgname=gpgme
+pkgver=1.6.0
+pkgrel=2
+pkgdesc="A C wrapper library for GnuPG"
+arch=('i686' 'x86_64')
+url="http://www.gnupg.org/related_software/gpgme/"
+license=('LGPL')
+depends=('libgpg-error' 'gnupg>=2')
+install=${pkgname}.install
+options=('!emptydirs')
+source=(ftp://ftp.gnupg.org/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2{,.sig})
+md5sums=('60d730d22e8065fd5de309e8b98e304b'
+         'SKIP')
+validpgpkeys=('D8692123C4065DEA5E0F3AB5249B39D24F25E3B6') # Werner Koch
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  ./configure --prefix=/usr --disable-fd-passing --disable-static \
+              --disable-gpgsm-test
+  make
+}
+
+check() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make check
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
+}

Copied: gpgme/repos/testing-x86_64/gpgme.install (from rev 245325, gpgme/trunk/gpgme.install)
===================================================================
--- testing-x86_64/gpgme.install	                        (rev 0)
+++ testing-x86_64/gpgme.install	2015-09-04 20:28:11 UTC (rev 245326)
@@ -0,0 +1,20 @@
+infodir=usr/share/info
+filelist=(gpgme.info gpgme.info-1 gpgme.info-2)
+
+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