# $Id: PKGBUILD 213848 2014-05-30 13:20:34Z andyrtr $ # Maintainer: AndyRTR # Maintainer: Jan de Groot # Contributor: judd pkgname=libtasn1 pkgver=3.6 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') install=libtasn1.install source=(http://ftp.gnu.org/gnu/libtasn1/${pkgname}-${pkgver}.tar.gz{,.sig}) md5sums=('6ed38e161e11013054f2a2bb4c4da449' '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 }