[arch-commits] Commit in expat/trunk (PKGBUILD)

Allan McRae allan at archlinux.org
Thu Nov 3 02:20:27 EDT 2011


    Date: Thursday, November 3, 2011 @ 02:20:27
  Author: allan
Revision: 141914

signing rebuild

Modified:
  expat/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-11-03 06:08:40 UTC (rev 141913)
+++ PKGBUILD	2011-11-03 06:20:27 UTC (rev 141914)
@@ -1,10 +1,10 @@
 # $Id$
-# Maintainer: dorphell <dorphell at archlinux.org>
+# Maintainer: Allan McRae <allan at archlinux.org>
 # Committer: Judd Vinet <jvinet at 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/"
@@ -19,15 +19,20 @@
          '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
 }



More information about the arch-commits mailing list