[arch-commits] Commit in libassuan/repos (6 files)
Tobias Powalowski
tpowa at archlinux.org
Fri Sep 4 18:52:39 UTC 2015
Date: Friday, September 4, 2015 @ 20:52:38
Author: tpowa
Revision: 245306
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
libassuan/repos/testing-i686/
libassuan/repos/testing-i686/PKGBUILD
(from rev 245305, libassuan/trunk/PKGBUILD)
libassuan/repos/testing-i686/libassuan.install
(from rev 245305, libassuan/trunk/libassuan.install)
libassuan/repos/testing-x86_64/
libassuan/repos/testing-x86_64/PKGBUILD
(from rev 245305, libassuan/trunk/PKGBUILD)
libassuan/repos/testing-x86_64/libassuan.install
(from rev 245305, 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 245305, libassuan/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2015-09-04 18:52:38 UTC (rev 245306)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+
+pkgname=libassuan
+pkgver=2.3.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=('d3effa069a3ccf924c8ed8a6d46cbc8d'
+ '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 245305, libassuan/trunk/libassuan.install)
===================================================================
--- testing-i686/libassuan.install (rev 0)
+++ testing-i686/libassuan.install 2015-09-04 18:52:38 UTC (rev 245306)
@@ -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 245305, libassuan/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2015-09-04 18:52:38 UTC (rev 245306)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+
+pkgname=libassuan
+pkgver=2.3.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=('d3effa069a3ccf924c8ed8a6d46cbc8d'
+ '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 245305, libassuan/trunk/libassuan.install)
===================================================================
--- testing-x86_64/libassuan.install (rev 0)
+++ testing-x86_64/libassuan.install 2015-09-04 18:52:38 UTC (rev 245306)
@@ -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