summaryrefslogtreecommitdiffstats
path: root/abs/core/libtasn1
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 16:05:35 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 16:05:35 (GMT)
commit8687925bc9d87e45b74d724a22f59428cdeb3008 (patch)
tree5991e674e2fdc1d53fec4f4aeca41dcdda70b060 /abs/core/libtasn1
parent463536a962ced0cdfc83cfd401bb55e8e1baa5bb (diff)
downloadlinhes_pkgbuild-8687925bc9d87e45b74d724a22f59428cdeb3008.zip
linhes_pkgbuild-8687925bc9d87e45b74d724a22f59428cdeb3008.tar.gz
linhes_pkgbuild-8687925bc9d87e45b74d724a22f59428cdeb3008.tar.bz2
libtasn1 2.13
Diffstat (limited to 'abs/core/libtasn1')
-rw-r--r--abs/core/libtasn1/PKGBUILD30
1 files changed, 20 insertions, 10 deletions
diff --git a/abs/core/libtasn1/PKGBUILD b/abs/core/libtasn1/PKGBUILD
index f43ca76..20d5bf4 100644
--- a/abs/core/libtasn1/PKGBUILD
+++ b/abs/core/libtasn1/PKGBUILD
@@ -1,26 +1,36 @@
-# $Id: PKGBUILD 79844 2010-05-08 11:48:57Z jgc $
+# $Id: PKGBUILD 160686 2012-06-03 18:36:06Z andyrtr $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>
pkgname=libtasn1
-pkgver=2.6
-pkgrel=3
+pkgver=2.13
+pkgrel=1
pkgdesc="The ASN.1 library used in GNUTLS"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
license=('GPL3' 'LGPL')
url="http://www.gnu.org/software/libtasn1/"
depends=('glibc' 'texinfo')
-options=('!libtool' '!emptydirs')
+options=('!libtool')
install=libtasn1.install
-source=(ftp://ftp.gnu.org/gnu/libtasn1/${pkgname}-${pkgver}.tar.gz)
-md5sums=('d410671e13038324336917ceed7470a5')
+source=(http://ftp.gnu.org/gnu/libtasn1/${pkgname}-${pkgver}.tar.gz{,.sig})
+sha1sums=('89120584bfedd244dab92df99e955a174c481851'
+ '2f9ce2aef6c1bd78f462e95de531b2b61f59d13c')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr \
--with-packager=Archlinux \
--with-packager-bug-reports="http://bugs.archlinux.org/" \
- --with-packager-version=${pkgver}-${pkgrel} || return 1
- make || return 1
- make DESTDIR="${pkgdir}" install || return 1
+ --with-packager-version=${pkgver}-${pkgrel}
+ make
+}
+
+check() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make check
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
}