From effb26c3b1f00bf8bea4e2562f07f9a06eb67606 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 7 Nov 2011 23:14:55 +0000 Subject: Mon Nov 7 23:14:55 UTC 2011 --- core/expat/PKGBUILD | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) (limited to 'core/expat') 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 +# $Id: PKGBUILD 142209 2011-11-06 08:56:53Z allan $ +# Maintainer: Allan McRae # Committer: Judd Vinet 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 } -- cgit v1.2.3-54-g00ecf