summaryrefslogtreecommitdiff
path: root/core/libgcrypt/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'core/libgcrypt/PKGBUILD')
-rw-r--r--core/libgcrypt/PKGBUILD16
1 files changed, 5 insertions, 11 deletions
diff --git a/core/libgcrypt/PKGBUILD b/core/libgcrypt/PKGBUILD
index ec4077548..84aa8284c 100644
--- a/core/libgcrypt/PKGBUILD
+++ b/core/libgcrypt/PKGBUILD
@@ -1,14 +1,14 @@
-# $Id: PKGBUILD 130865 2011-07-08 14:06:03Z andyrtr $
+# $Id: PKGBUILD 156348 2012-04-17 15:57:54Z andyrtr $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
pkgname=libgcrypt
pkgver=1.5.0
-pkgrel=1
+pkgrel=3
pkgdesc="a general purpose crypto library based on the code used"
arch=(i686 x86_64 'mips64el')
url="http://www.gnupg.org"
license=('LGPL')
-depends=('libgpg-error>=1.9')
+depends=('libgpg-error>=1.10-2')
options=('!libtool' '!emptydirs')
install=$pkgname.install
source=(ftp://ftp.gnupg.org/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2
@@ -18,24 +18,18 @@ sha1sums=('3e776d44375dc1a710560b98ae8437d5da6e32cf')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
- [ "$CARCH" = "i686" ] && EXTRAFLAGS="--disable-aesni-support"
./configure --prefix=/usr \
--disable-static \
- --disable-padlock-support $EXTRAFLAGS
+ --disable-padlock-support #$EXTRAFLAGS
make
}
check() {
cd ${srcdir}/${pkgname}-${pkgver}
- make -k check
+ make check
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
-
- # Move dynamic libraries to /lib
- install -d -m755 "${pkgdir}"/lib/
- mv "${pkgdir}"/usr/lib/libgcrypt.so* "${pkgdir}"/lib/
- ln -sf /lib/libgcrypt.so "${pkgdir}"/usr/lib/libgcrypt.so
}