archrelease: copy trunk to extra-x86_64
[arch-packages.git] / nettle / repos / core-x86_64 / PKGBUILD
blobad16cd63aced70329a45abc5ceddcdcfb2620a9d
1 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
2 # Contributor: bender02 at gmx dot com
4 pkgname=nettle
5 pkgver=3.8.1
6 pkgrel=1
7 pkgdesc="A low-level cryptographic library"
8 arch=('x86_64')
9 url="https://www.lysator.liu.se/~nisse/nettle"
10 license=('GPL2')
11 depends=('gmp')
12 provides=('libnettle.so' 'libhogweed.so')
13 checkdepends=('valgrind')
14 options=('debug')
15 source=(https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz{,.sig})
16 sha256sums=('364f3e2b77cd7dcde83fd7c45219c834e54b0c75e428b6f894a23d12dd41cbfe'
17             'SKIP')
18 validpgpkeys=('343C2FF0FBEE5EC2EDBEF399F3599FF828C67298') # Niels Möller <nisse@lysator.liu.se>
21 build() {
22   cd $pkgname-$pkgver
23   ./configure --prefix=/usr \
24     --disable-static
25   make
28 check() {
29   cd $pkgname-$pkgver
30   make -k check
33 package() {
34   cd $pkgname-$pkgver
35   make DESTDIR="$pkgdir/" install