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

Gaetan Bisson bisson at archlinux.org
Sat Mar 24 09:41:41 EDT 2012


    Date: Saturday, March 24, 2012 @ 09:41:41
  Author: bisson
Revision: 154238

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

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

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

Copied: gpgme/repos/testing-i686/PKGBUILD (from rev 154237, gpgme/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2012-03-24 13:41:41 UTC (rev 154238)
@@ -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.3.1
+pkgrel=3
+pkgdesc="A C wrapper library for GnuPG"
+arch=('i686' 'x86_64')
+url="http://www.gnupg.org/related_software/gpgme/"
+license=('GPL')
+depends=('libgpg-error' 'pth' 'gnupg')
+install=${pkgname}.install
+options=('!libtool' '!emptydirs')
+source=(ftp://ftp.gnupg.org/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2{,.sig})
+md5sums=('90afa8436ce2b2683c001c824bd22601'
+         'a032ddc27177ef4ee54e25a231e62da5')
+sha1sums=('7d19a95a2239da13764dad7f97541be884ec5a37'
+          '93316a81a8f903c5b604716b6937884ea7b0917a')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  ./configure --prefix=/usr --disable-static
+  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 154237, gpgme/trunk/gpgme.install)
===================================================================
--- testing-i686/gpgme.install	                        (rev 0)
+++ testing-i686/gpgme.install	2012-03-24 13:41:41 UTC (rev 154238)
@@ -0,0 +1,18 @@
+infodir=/usr/share/info
+filelist=(gpgme.info gpgme.info-1 gpgme.info-2)
+
+post_install() {
+  for file in ${filelist[@]}; do
+    install-info $infodir/$file $infodir/dir 2> /dev/null
+  done
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  for file in ${filelist[@]}; do
+    install-info --delete $infodir/$file $infodir/dir 2> /dev/null
+  done
+}

Copied: gpgme/repos/testing-x86_64/PKGBUILD (from rev 154237, gpgme/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2012-03-24 13:41:41 UTC (rev 154238)
@@ -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.3.1
+pkgrel=3
+pkgdesc="A C wrapper library for GnuPG"
+arch=('i686' 'x86_64')
+url="http://www.gnupg.org/related_software/gpgme/"
+license=('GPL')
+depends=('libgpg-error' 'pth' 'gnupg')
+install=${pkgname}.install
+options=('!libtool' '!emptydirs')
+source=(ftp://ftp.gnupg.org/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2{,.sig})
+md5sums=('90afa8436ce2b2683c001c824bd22601'
+         'a032ddc27177ef4ee54e25a231e62da5')
+sha1sums=('7d19a95a2239da13764dad7f97541be884ec5a37'
+          '93316a81a8f903c5b604716b6937884ea7b0917a')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  ./configure --prefix=/usr --disable-static
+  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 154237, gpgme/trunk/gpgme.install)
===================================================================
--- testing-x86_64/gpgme.install	                        (rev 0)
+++ testing-x86_64/gpgme.install	2012-03-24 13:41:41 UTC (rev 154238)
@@ -0,0 +1,18 @@
+infodir=/usr/share/info
+filelist=(gpgme.info gpgme.info-1 gpgme.info-2)
+
+post_install() {
+  for file in ${filelist[@]}; do
+    install-info $infodir/$file $infodir/dir 2> /dev/null
+  done
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  for file in ${filelist[@]}; do
+    install-info --delete $infodir/$file $infodir/dir 2> /dev/null
+  done
+}



More information about the arch-commits mailing list