[arch-commits] Commit in libassuan/repos (6 files)
Tobias Powalowski
tpowa at archlinux.org
Tue Apr 28 14:32:03 UTC 2015
Date: Tuesday, April 28, 2015 @ 16:32:03
Author: tpowa
Revision: 238217
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
libassuan/repos/testing-i686/
libassuan/repos/testing-i686/PKGBUILD
(from rev 238216, libassuan/trunk/PKGBUILD)
libassuan/repos/testing-i686/libassuan.install
(from rev 238216, libassuan/trunk/libassuan.install)
libassuan/repos/testing-x86_64/
libassuan/repos/testing-x86_64/PKGBUILD
(from rev 238216, libassuan/trunk/PKGBUILD)
libassuan/repos/testing-x86_64/libassuan.install
(from rev 238216, libassuan/trunk/libassuan.install)
----------------------------------+
testing-i686/PKGBUILD | 32 ++++++++++++++++++++++++++++++++
testing-i686/libassuan.install | 20 ++++++++++++++++++++
testing-x86_64/PKGBUILD | 32 ++++++++++++++++++++++++++++++++
testing-x86_64/libassuan.install | 20 ++++++++++++++++++++
4 files changed, 104 insertions(+)
Copied: libassuan/repos/testing-i686/PKGBUILD (from rev 238216, libassuan/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2015-04-28 14:32:03 UTC (rev 238217)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+
+pkgname=libassuan
+pkgver=2.2.0
+pkgrel=1
+pkgdesc="A IPC library used by some GnuPG related software"
+arch=('i686' 'x86_64')
+license=('GPL')
+url="http://www.gnupg.org/related_software/libassuan"
+depends=('libgpg-error')
+source=(ftp://ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2{,.sig})
+install=libassuan.install
+md5sums=('a104faed3e97b9c302c5d67cc22b1d60'
+ 'SKIP')
+validpgpkeys=('D8692123C4065DEA5E0F3AB5249B39D24F25E3B6') # Werner Koch
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make check
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
+}
Copied: libassuan/repos/testing-i686/libassuan.install (from rev 238216, libassuan/trunk/libassuan.install)
===================================================================
--- testing-i686/libassuan.install (rev 0)
+++ testing-i686/libassuan.install 2015-04-28 14:32:03 UTC (rev 238217)
@@ -0,0 +1,20 @@
+infodir=usr/share/info
+filelist=(assuan.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: libassuan/repos/testing-x86_64/PKGBUILD (from rev 238216, libassuan/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2015-04-28 14:32:03 UTC (rev 238217)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+
+pkgname=libassuan
+pkgver=2.2.0
+pkgrel=1
+pkgdesc="A IPC library used by some GnuPG related software"
+arch=('i686' 'x86_64')
+license=('GPL')
+url="http://www.gnupg.org/related_software/libassuan"
+depends=('libgpg-error')
+source=(ftp://ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2{,.sig})
+install=libassuan.install
+md5sums=('a104faed3e97b9c302c5d67cc22b1d60'
+ 'SKIP')
+validpgpkeys=('D8692123C4065DEA5E0F3AB5249B39D24F25E3B6') # Werner Koch
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make check
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
+}
Copied: libassuan/repos/testing-x86_64/libassuan.install (from rev 238216, libassuan/trunk/libassuan.install)
===================================================================
--- testing-x86_64/libassuan.install (rev 0)
+++ testing-x86_64/libassuan.install 2015-04-28 14:32:03 UTC (rev 238217)
@@ -0,0 +1,20 @@
+infodir=usr/share/info
+filelist=(assuan.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