# $Id: PKGBUILD 170031 2012-10-31 05:15:58Z andyrtr $ # Maintainer: Jan de Groot # Contributor: judd pkgname=libtasn1 pkgver=3.0 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}) sha1sums=('0ce12f8b0460ae6eabf2a608506dbd337bf78a71' '48abf083dc9d36cc64f0d80cebd3da1dbc47d557') 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 }