mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
37 lines
898 B
Bash
37 lines
898 B
Bash
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
|
|
# Contributor: bender02 at gmx dot com
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - disable neon, assembler
|
|
|
|
pkgname=nettle
|
|
pkgver=3.4.1
|
|
pkgrel=1
|
|
pkgdesc="A low-level cryptographic library"
|
|
arch=('x86_64')
|
|
url="https://www.lysator.liu.se/~nisse/nettle"
|
|
license=('GPL2')
|
|
depends=('gmp')
|
|
checkdepends=('valgrind')
|
|
source=(https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz{,.sig})
|
|
sha256sums=('f941cf1535cd5d1819be5ccae5babef01f6db611f9b5a777bae9c7604b8a92ad'
|
|
'SKIP')
|
|
validpgpkeys=('343C2FF0FBEE5EC2EDBEF399F3599FF828C67298') # Niels Möller <nisse@lysator.liu.se>
|
|
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
./configure --prefix=/usr \
|
|
--disable-static --disable-arm-neon --disable-assembler
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd $pkgname-$pkgver
|
|
make -k check
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
make DESTDIR="$pkgdir/" install
|
|
}
|