summaryrefslogtreecommitdiffstats
path: root/abs/core/expat/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 02:16:46 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 02:16:46 (GMT)
commit0edb7bc8adc5f848f60f506a3adfd1d17b92450f (patch)
treee0dc17c956ad57ed513c4dc9d179b5007667baf2 /abs/core/expat/PKGBUILD
parent0018d0e0af0485f3e7b60c62da32ccb9d0cc39e9 (diff)
downloadlinhes_pkgbuild-0edb7bc8adc5f848f60f506a3adfd1d17b92450f.zip
linhes_pkgbuild-0edb7bc8adc5f848f60f506a3adfd1d17b92450f.tar.gz
linhes_pkgbuild-0edb7bc8adc5f848f60f506a3adfd1d17b92450f.tar.bz2
expat 2.1
Diffstat (limited to 'abs/core/expat/PKGBUILD')
-rw-r--r--abs/core/expat/PKGBUILD39
1 files changed, 21 insertions, 18 deletions
diff --git a/abs/core/expat/PKGBUILD b/abs/core/expat/PKGBUILD
index e2f1038..73688e0 100644
--- a/abs/core/expat/PKGBUILD
+++ b/abs/core/expat/PKGBUILD
@@ -1,29 +1,32 @@
-# $Id: PKGBUILD 62836 2010-01-12 23:27:10Z allan $
-# Maintainer: dorphell <dorphell@archlinux.org>
+# $Id: PKGBUILD 156201 2012-04-16 03:41:12Z allan $
+# Maintainer: Allan McRae <allan@archlinux.org>
# Committer: Judd Vinet <jvinet@zeroflux.org>
pkgname=expat
-pkgver=2.0.1
-pkgrel=5
-pkgdesc="An XML Parser library written in C"
+pkgver=2.1.0
+pkgrel=1
+pkgdesc="An XML parser library"
arch=('i686' 'x86_64')
url="http://expat.sourceforge.net/"
license=('custom')
depends=('glibc')
options=('!libtool')
-source=(http://downloads.sourceforge.net/sourceforge/expat/${pkgname}-${pkgver}.tar.gz
- CVE-2009-3560.patch
- CVE-2009-3720.patch)
-md5sums=('ee8b492592568805593f81f8cdf2a04c'
- '50603cac0f03aabc7087415251f592be'
- 'f3eeb796f28945899216b815e5901996')
+source=(http://downloads.sourceforge.net/sourceforge/expat/${pkgname}-${pkgver}.tar.gz)
+md5sums=('dd7dab7a5fea97d2a6a43f511449b7cd')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- patch -Np1 -i $srcdir/CVE-2009-3560.patch
- patch -Np1 -i $srcdir/CVE-2009-3720.patch
- ./configure --prefix=/usr --mandir=/usr/share/man || return 1
- make || return 1
- make DESTDIR="${pkgdir}" install || return 1
- install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" || return 1
+ cd ${srcdir}/${pkgname}-${pkgver}
+ ./configure --prefix=/usr --mandir=/usr/share/man
+ make
+}
+
+check() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make check
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
+ install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
}