summaryrefslogtreecommitdiff
path: root/core/expat
diff options
context:
space:
mode:
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
}