summaryrefslogtreecommitdiff
path: root/core/libgcrypt/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-04-10 04:43:11 +0000
committerroot <root@rshg047.dnsready.net>2011-04-10 04:43:11 +0000
commit8f6922302486fa1cc1112ff8b3daddb48c3260f2 (patch)
treecdd13036f76c8a9b8efcc83bbaea166cc929a527 /core/libgcrypt/PKGBUILD
parentf87ab435eb966ec44eb006c48699e6ee90613286 (diff)
Sun Apr 10 04:43:11 UTC 2011
Diffstat (limited to 'core/libgcrypt/PKGBUILD')
-rw-r--r--core/libgcrypt/PKGBUILD22
1 files changed, 14 insertions, 8 deletions
diff --git a/core/libgcrypt/PKGBUILD b/core/libgcrypt/PKGBUILD
index c26270001..c55847667 100644
--- a/core/libgcrypt/PKGBUILD
+++ b/core/libgcrypt/PKGBUILD
@@ -1,14 +1,14 @@
-# $Id: PKGBUILD 85547 2010-07-15 21:16:57Z andyrtr $
+# $Id: PKGBUILD 117849 2011-04-04 18:49:54Z andyrtr $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
pkgname=libgcrypt
pkgver=1.4.6
-pkgrel=1
+pkgrel=2
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')
+depends=('libgpg-error>=1.9')
options=(!libtool)
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
@@ -17,17 +17,23 @@ md5sums=('dbf99425a4fe9217c84ce3a35d938634')
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
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
+ install -d -m755 "${pkgdir}"/lib/
+ mv "${pkgdir}"/usr/lib/libgcrypt.so* "${pkgdir}"/lib/
+ ln -sf /lib/libgcrypt.so "${pkgdir}"/usr/lib/libgcrypt.so
}