summaryrefslogtreecommitdiff
path: root/core/expat
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-11-07 23:14:55 +0000
committerroot <root@rshg054.dnsready.net>2011-11-07 23:14:55 +0000
commiteffb26c3b1f00bf8bea4e2562f07f9a06eb67606 (patch)
tree428924ac7d0c871e4b7ca1fed9e221e5ef7b8081 /core/expat
parenta4d309341dbcd3c28ee68e818c1d5ef54114adf8 (diff)
Mon Nov 7 23:14:55 UTC 2011
Diffstat (limited to 'core/expat')
-rw-r--r--core/expat/PKGBUILD21
1 files changed, 13 insertions, 8 deletions
diff --git a/core/expat/PKGBUILD b/core/expat/PKGBUILD
index 9daf035ad..6062d4952 100644
--- a/core/expat/PKGBUILD
+++ b/core/expat/PKGBUILD
@@ -1,13 +1,13 @@
-# $Id: PKGBUILD 102953 2010-12-13 13:44:48Z stephane $
-# Maintainer: dorphell <dorphell@archlinux.org>
+# $Id: PKGBUILD 142209 2011-11-06 08:56:53Z allan $
+# Maintainer: Allan McRae <allan@archlinux.org>
# Committer: Judd Vinet <jvinet@zeroflux.org>
pkgname=expat
pkgver=2.0.1
-pkgrel=6
+pkgrel=7
pkgdesc="An XML parser library"
arch=('i686' 'x86_64')
-url="http://expat.sourceforge.net"
+url="http://expat.sourceforge.net/"
license=('custom')
depends=('glibc')
options=('!libtool')
@@ -19,15 +19,20 @@ md5sums=('ee8b492592568805593f81f8cdf2a04c'
'f3eeb796f28945899216b815e5901996')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ 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
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"
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
+ install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
}