Date: Monday, December 16, 2013 @ 23:30:58 Author: andyrtr Revision: 201601
archrelease: copy trunk to staging-i686, staging-x86_64 Added: libgcrypt/repos/staging-i686/ libgcrypt/repos/staging-i686/PKGBUILD (from rev 201600, libgcrypt/trunk/PKGBUILD) libgcrypt/repos/staging-i686/libgcrypt.install (from rev 201600, libgcrypt/trunk/libgcrypt.install) libgcrypt/repos/staging-x86_64/ libgcrypt/repos/staging-x86_64/PKGBUILD (from rev 201600, libgcrypt/trunk/PKGBUILD) libgcrypt/repos/staging-x86_64/libgcrypt.install (from rev 201600, libgcrypt/trunk/libgcrypt.install) ----------------------------------+ staging-i686/PKGBUILD | 33 +++++++++++++++++++++++++++++++++ staging-i686/libgcrypt.install | 20 ++++++++++++++++++++ staging-x86_64/PKGBUILD | 33 +++++++++++++++++++++++++++++++++ staging-x86_64/libgcrypt.install | 20 ++++++++++++++++++++ 4 files changed, 106 insertions(+) Copied: libgcrypt/repos/staging-i686/PKGBUILD (from rev 201600, libgcrypt/trunk/PKGBUILD) =================================================================== --- staging-i686/PKGBUILD (rev 0) +++ staging-i686/PKGBUILD 2013-12-16 22:30:58 UTC (rev 201601) @@ -0,0 +1,33 @@ +# $Id$ +# Maintainer: Andreas Radke <andy...@archlinux.org> + +pkgname=libgcrypt +pkgver=1.6.0 +pkgrel=1 +pkgdesc="General purpose cryptographic library based on the code from GnuPG" +arch=(i686 x86_64) +url="http://www.gnupg.org" +license=('LGPL') +depends=('libgpg-error>=1.10-2') +options=('!emptydirs') +install=$pkgname.install +source=(ftp://ftp.gnupg.org/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2) +sha1sums=('43283c0b41c41e3d3bc13c2d8f937dfe2aaa1a77') + +build() { + cd ${pkgname}-${pkgver} + ./configure --prefix=/usr \ + --disable-static \ + --disable-padlock-support + make +} + +check() { + cd ${pkgname}-${pkgver} + make check +} + +package() { + cd ${pkgname}-${pkgver} + make DESTDIR=${pkgdir} install +} Copied: libgcrypt/repos/staging-i686/libgcrypt.install (from rev 201600, libgcrypt/trunk/libgcrypt.install) =================================================================== --- staging-i686/libgcrypt.install (rev 0) +++ staging-i686/libgcrypt.install 2013-12-16 22:30:58 UTC (rev 201601) @@ -0,0 +1,20 @@ +infodir=/usr/share/info +filelist=(gcrypt.info.gz gcrypt.info-1.gz) + +post_install() { + [ -x usr/bin/install-info ] || return 0 + for file in ${filelist[@]}; do + install-info $infodir/$file $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 $infodir/dir 2> /dev/null + done +} Copied: libgcrypt/repos/staging-x86_64/PKGBUILD (from rev 201600, libgcrypt/trunk/PKGBUILD) =================================================================== --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2013-12-16 22:30:58 UTC (rev 201601) @@ -0,0 +1,33 @@ +# $Id$ +# Maintainer: Andreas Radke <andy...@archlinux.org> + +pkgname=libgcrypt +pkgver=1.6.0 +pkgrel=1 +pkgdesc="General purpose cryptographic library based on the code from GnuPG" +arch=(i686 x86_64) +url="http://www.gnupg.org" +license=('LGPL') +depends=('libgpg-error>=1.10-2') +options=('!emptydirs') +install=$pkgname.install +source=(ftp://ftp.gnupg.org/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2) +sha1sums=('43283c0b41c41e3d3bc13c2d8f937dfe2aaa1a77') + +build() { + cd ${pkgname}-${pkgver} + ./configure --prefix=/usr \ + --disable-static \ + --disable-padlock-support + make +} + +check() { + cd ${pkgname}-${pkgver} + make check +} + +package() { + cd ${pkgname}-${pkgver} + make DESTDIR=${pkgdir} install +} Copied: libgcrypt/repos/staging-x86_64/libgcrypt.install (from rev 201600, libgcrypt/trunk/libgcrypt.install) =================================================================== --- staging-x86_64/libgcrypt.install (rev 0) +++ staging-x86_64/libgcrypt.install 2013-12-16 22:30:58 UTC (rev 201601) @@ -0,0 +1,20 @@ +infodir=/usr/share/info +filelist=(gcrypt.info.gz gcrypt.info-1.gz) + +post_install() { + [ -x usr/bin/install-info ] || return 0 + for file in ${filelist[@]}; do + install-info $infodir/$file $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 $infodir/dir 2> /dev/null + done +}