[arch-commits] Commit in libgpg-error/repos (6 files)
Tobias Powalowski
tpowa at archlinux.org
Tue Apr 28 14:19:54 UTC 2015
Date: Tuesday, April 28, 2015 @ 16:19:54
Author: tpowa
Revision: 238213
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
libgpg-error/repos/testing-i686/
libgpg-error/repos/testing-i686/PKGBUILD
(from rev 238212, libgpg-error/trunk/PKGBUILD)
libgpg-error/repos/testing-i686/libgpg-error.install
(from rev 238212, libgpg-error/trunk/libgpg-error.install)
libgpg-error/repos/testing-x86_64/
libgpg-error/repos/testing-x86_64/PKGBUILD
(from rev 238212, libgpg-error/trunk/PKGBUILD)
libgpg-error/repos/testing-x86_64/libgpg-error.install
(from rev 238212, libgpg-error/trunk/libgpg-error.install)
-------------------------------------+
testing-i686/PKGBUILD | 35 ++++++++++++++++++++++++++++++++++
testing-i686/libgpg-error.install | 20 +++++++++++++++++++
testing-x86_64/PKGBUILD | 35 ++++++++++++++++++++++++++++++++++
testing-x86_64/libgpg-error.install | 20 +++++++++++++++++++
4 files changed, 110 insertions(+)
Copied: libgpg-error/repos/testing-i686/PKGBUILD (from rev 238212, libgpg-error/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2015-04-28 14:19:54 UTC (rev 238213)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: judd <jvinet at zeroflux.org>
+
+pkgname=libgpg-error
+pkgver=1.19
+pkgrel=1
+pkgdesc="Support library for libgcrypt"
+arch=(i686 x86_64)
+url="http://www.gnupg.org"
+license=('LGPL')
+depends=('glibc' 'sh')
+source=(ftp://ftp.gnupg.org/gcrypt/libgpg-error/${pkgname}-${pkgver}.tar.bz2{,.sig})
+ #ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/libgpg-error/${pkgname}-${pkgver}.tar.bz2)
+install=libgpg-error.install
+# https://www.gnupg.org/download/integrity_check.html
+sha1sums=('4997951ab058788de48b989013668eb3df1e6939'
+ 'SKIP')
+validpgpkeys=('D8692123C4065DEA5E0F3AB5249B39D24F25E3B6') # Werner Koch
+
+build() {
+ cd ${pkgname}-${pkgver}
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd ${pkgname}-${pkgver}
+ make check
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}/" install
+}
Copied: libgpg-error/repos/testing-i686/libgpg-error.install (from rev 238212, libgpg-error/trunk/libgpg-error.install)
===================================================================
--- testing-i686/libgpg-error.install (rev 0)
+++ testing-i686/libgpg-error.install 2015-04-28 14:19:54 UTC (rev 238213)
@@ -0,0 +1,20 @@
+infodir=usr/share/info
+filelist=(gpgrt.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: libgpg-error/repos/testing-x86_64/PKGBUILD (from rev 238212, libgpg-error/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2015-04-28 14:19:54 UTC (rev 238213)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: judd <jvinet at zeroflux.org>
+
+pkgname=libgpg-error
+pkgver=1.19
+pkgrel=1
+pkgdesc="Support library for libgcrypt"
+arch=(i686 x86_64)
+url="http://www.gnupg.org"
+license=('LGPL')
+depends=('glibc' 'sh')
+source=(ftp://ftp.gnupg.org/gcrypt/libgpg-error/${pkgname}-${pkgver}.tar.bz2{,.sig})
+ #ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/libgpg-error/${pkgname}-${pkgver}.tar.bz2)
+install=libgpg-error.install
+# https://www.gnupg.org/download/integrity_check.html
+sha1sums=('4997951ab058788de48b989013668eb3df1e6939'
+ 'SKIP')
+validpgpkeys=('D8692123C4065DEA5E0F3AB5249B39D24F25E3B6') # Werner Koch
+
+build() {
+ cd ${pkgname}-${pkgver}
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd ${pkgname}-${pkgver}
+ make check
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}/" install
+}
Copied: libgpg-error/repos/testing-x86_64/libgpg-error.install (from rev 238212, libgpg-error/trunk/libgpg-error.install)
===================================================================
--- testing-x86_64/libgpg-error.install (rev 0)
+++ testing-x86_64/libgpg-error.install 2015-04-28 14:19:54 UTC (rev 238213)
@@ -0,0 +1,20 @@
+infodir=usr/share/info
+filelist=(gpgrt.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