updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / lib32-libtasn1 / PKGBUILD
blob2b77c65e0ea8fc88b368739d5d313a6cdf23229b
1 _pkgbasename=libtasn1
2 pkgname=lib32-$_pkgbasename
3 pkgver=2.9
4 pkgrel=1
5 pkgdesc="The ASN.1 library used in GNUTLS (32 bit)"
6 arch=(i686 x86_64)
7 license=('GPL3' 'LGPL')
8 url="http://www.gnu.org/software/libtasn1/"
9 depends=('lib32-glibc')
10 makedepends=('gcc-multilib')
11 options=('!libtool')
12 source=(ftp://ftp.gnu.org/gnu/libtasn1/${_pkgbasename}-${pkgver}.tar.gz)
13 md5sums=('f4f4035b84550100ffeb8ad4b261dea9')
15 build() {
16   cd "${srcdir}/${_pkgbasename}-${pkgver}"
17   ./configure --prefix=/usr --libdir=/usr/lib32 CC='gcc -m32'
18   make
21 check() {
22   cd "${srcdir}/${_pkgbasename}-${pkgver}"
23   make check
26 package() {
27   cd "${srcdir}/${_pkgbasename}-${pkgver}"
28   make DESTDIR="${pkgdir}" install
29   rm -rf "${pkgdir}/usr/"{bin,include,share}