# $Id: PKGBUILD 173800 2012-12-24 00:28:32Z andyrtr $ # Maintainer: Jan de Groot # Contributor: judd pkgname=libtasn1 pkgver=3.2 pkgrel=1 pkgdesc="The ASN.1 library used in GNUTLS" arch=('i686' 'x86_64') license=('GPL3' 'LGPL') url="http://www.gnu.org/software/libtasn1/" depends=('glibc' 'texinfo') options=('!libtool') install=libtasn1.install source=(http://ftp.gnu.org/gnu/libtasn1/${pkgname}-${pkgver}.tar.gz{,.sig}) md5sums=('1b07629163025b9693aae9b8957842b2' '67bdae9b78ac7bbfa2ab24c7d46bd577') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr \ --with-packager=Archlinux \ --with-packager-bug-reports="http://bugs.archlinux.org/" \ --with-packager-version=${pkgver}-${pkgrel} make } check() { cd "${srcdir}/${pkgname}-${pkgver}" make check } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install }