1 # $Id: PKGBUILD 58142 2011-11-06 22:21:10Z bluewind $
2 # Maintainer: Christoph Vigano <mail@cvigano.de>
3 # Contributor: Florian Pritz <flo@xssn.at>
4 # Contributor: Andreas Radke <andyrtr@archlinux.org>
5 # Contributor: bender02 at gmx dot com
8 pkgname=lib32-$_pkgbasename
11 pkgdesc="A low-level cryptographic library (32-bit)"
12 arch=('i686' 'x86_64')
13 url="http://www.lysator.liu.se/~nisse/nettle/"
16 makedepends=(gcc-multilib)
17 source=(ftp://ftp.gnu.org/gnu/nettle/$_pkgbasename-$pkgver.tar.gz)
18 md5sums=(''450be8c4886d46c09f49f568ad6fa013'')
21 cd "$srcdir/$_pkgbasename-$pkgver"
25 export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
27 ./configure --prefix=/usr --libdir=/usr/lib32 \
29 --disable-static # <-- seems not working now
34 cd "$srcdir/$_pkgbasename-$pkgver"
39 cd "$srcdir/$_pkgbasename-$pkgver"
40 make DESTDIR="$pkgdir/" install
45 rm -f ${pkgdir}/usr/lib32/{libhogweed,libnettle}.a
47 rm -rf "${pkgdir}"/usr/{include,share,bin}