# Maintainer: abveritas[at]chakra-project[dot]org> pkgname=nettle pkgver=2.7 pkgrel=1 pkgdesc="Nettle - a low-level cryptographic library." arch=('x86_64') url="http://www.lysator.liu.se/~nisse/nettle/" license=('GPL') depends=('gmp') source=("http://www.lysator.liu.se/~nisse/archive/${pkgname}-${pkgver}.tar.gz") md5sums=('2caa1bd667c35db71becb93c5d89737f') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr --libdir=/usr/lib --enable-shared make } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install }