From 5bdda30592f681bb1e8048281315c6b49c62b4a6 Mon Sep 17 00:00:00 2001 From: James Meyer Date: Tue, 7 Aug 2012 09:53:49 -0500 Subject: libgcrypt 1.5.0 --- abs/core/libgcrypt/PKGBUILD | 28 +++++++++++++++------------- abs/core/libgcrypt/libgcrypt.install | 4 +--- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/abs/core/libgcrypt/PKGBUILD b/abs/core/libgcrypt/PKGBUILD index 2f27ff0..e3a887b 100644 --- a/abs/core/libgcrypt/PKGBUILD +++ b/abs/core/libgcrypt/PKGBUILD @@ -1,33 +1,35 @@ -# $Id: PKGBUILD 85547 2010-07-15 21:16:57Z andyrtr $ +# $Id: PKGBUILD 156348 2012-04-17 15:57:54Z andyrtr $ # Maintainer: Andreas Radke pkgname=libgcrypt -pkgver=1.4.6 -pkgrel=2 +pkgver=1.5.0 +pkgrel=3 pkgdesc="a general purpose crypto library based on the code used" arch=(i686 x86_64) url="http://www.gnupg.org" license=('LGPL') -depends=('libgpg-error>=1.7') -options=(!libtool) +depends=('libgpg-error>=1.10-2') +options=('!libtool' '!emptydirs') +install=$pkgname.install source=(ftp://ftp.gnupg.org/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2 #ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/libgcrypt/${pkgname}-${pkgver}.tar.bz2 ) -md5sums=('dbf99425a4fe9217c84ce3a35d938634') +sha1sums=('3e776d44375dc1a710560b98ae8437d5da6e32cf') build() { cd ${srcdir}/${pkgname}-${pkgver} - # keep static library for , needed for cryptsetup - ./configure --prefix=/usr --disable-padlock-support + ./configure --prefix=/usr \ + --disable-static \ + --disable-padlock-support #$EXTRAFLAGS make } +check() { + cd ${srcdir}/${pkgname}-${pkgver} + make check +} + package() { cd ${srcdir}/${pkgname}-${pkgver} make DESTDIR=${pkgdir} install - - # Move dynamic libraries to /lib - install -d -m755 "${pkgdir}"/lib/ || return 1 - mv "${pkgdir}"/usr/lib/libgcrypt.so* "${pkgdir}"/lib/ || return 1 - ln -sf /lib/libgcrypt.so "${pkgdir}"/usr/lib/libgcrypt.so || return 1 } diff --git a/abs/core/libgcrypt/libgcrypt.install b/abs/core/libgcrypt/libgcrypt.install index 81547f5..79b8782 100644 --- a/abs/core/libgcrypt/libgcrypt.install +++ b/abs/core/libgcrypt/libgcrypt.install @@ -1,5 +1,5 @@ infodir=/usr/share/info -filelist=(gcrypt.info) +filelist=(gcrypt.info.gz gcrypt.info-1.gz) post_install() { [ -x usr/bin/install-info ] || return 0 @@ -18,5 +18,3 @@ pre_remove() { install-info --delete $infodir/$file $infodir/dir 2> /dev/null done } - -# vim:set ts=2 sw=2 et: -- cgit v0.12