summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/nettle/PKGBUILD15
1 files changed, 7 insertions, 8 deletions
diff --git a/abs/core/nettle/PKGBUILD b/abs/core/nettle/PKGBUILD
index a017c92..0058dd2 100644
--- a/abs/core/nettle/PKGBUILD
+++ b/abs/core/nettle/PKGBUILD
@@ -3,7 +3,7 @@
# Contributor: bender02 at gmx dot com
pkgname=nettle
-pkgver=2.7.1
+pkgver=3.1.1
pkgrel=1
pkgdesc="A low-level cryptographic library"
arch=('i686' 'x86_64')
@@ -11,15 +11,17 @@ url="http://www.lysator.liu.se/~nisse/nettle/"
license=('GPL2')
install=$pkgname.install
depends=('gmp')
-source=(http://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz{,.sig})
-md5sums=('003d5147911317931dd453520eb234a5'
+checkdepends=('valgrind')
+source=(https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz{,.sig})
+md5sums=('b40fa88dc32f37a182b6b42092ebb144'
'SKIP')
+validpgpkeys=('343C2FF0FBEE5EC2EDBEF399F3599FF828C67298') # Niels Möller <nisse@lysator.liu.se>
build() {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr --libdir=/usr/lib \
- --enable-shared
+ ./configure --prefix=/usr \
+ --disable-static
make
}
@@ -31,7 +33,4 @@ check() {
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
-
- # remove static libs #--disable-static - build would break (since nettle 2.6) - and had no effect before
- rm -f ${pkgdir}/usr/lib/{libhogweed,libnettle}.a
}