# $Id: PKGBUILD 200598 2013-11-29 16:35:20Z andyrtr $ # Maintainer: Jan de Groot # Contributor: judd pkgname=libtasn1 pkgver=3.4 pkgrel=1 pkgdesc="The ASN.1 library used in GNUTLS" arch=('i686' 'x86_64' 'mips64el') license=('GPL3' 'LGPL') url="http://www.gnu.org/software/libtasn1/" depends=('glibc' 'texinfo') install=libtasn1.install source=(http://ftp.gnu.org/gnu/libtasn1/${pkgname}-${pkgver}.tar.gz{,.sig}) md5sums=('21ec021c534b0f30b2834ce233c70f15' 'SKIP') build() { cd ${pkgname}-${pkgver} ./configure --prefix=/usr \ --with-packager=Archlinux \ --with-packager-bug-reports="http://bugs.archlinux.org/" \ --with-packager-version=${pkgver}-${pkgrel} make } check() { cd ${pkgname}-${pkgver} make check } package() { cd ${pkgname}-${pkgver} make DESTDIR="${pkgdir}" install }