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

Andrea Scarpino andrea at archlinux.org
Sun Dec 9 09:06:50 UTC 2012


    Date: Sunday, December 9, 2012 @ 04:06:50
  Author: andrea
Revision: 173035

Cleanup

Modified:
  xerces-c/trunk/PKGBUILD

----------+
 PKGBUILD |   25 +++++++++++++++----------
 1 file changed, 15 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-12-09 09:01:09 UTC (rev 173034)
+++ PKGBUILD	2012-12-09 09:06:50 UTC (rev 173035)
@@ -1,24 +1,29 @@
 # $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Maintainer: Geoffroy Carrier <geoffroy at archlinux.org>
+# Maintainer:
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Geoffroy Carrier <geoffroy at archlinux.org>
 # Contributor: Roman Kyrylych <Roman.Kyrylych at gmail.com>
-# Contributor: pukyxd
 
 pkgname=xerces-c
 pkgver=3.1.1
 pkgrel=3
-pkgdesc="A validating XML parser written in a portable subset of C++."
+pkgdesc="A validating XML parser written in a portable subset of C++"
 arch=('i686' 'x86_64')
-url="http://xerces.apache.org/xerces-c"
-license=("APACHE")
+url="http://xerces.apache.org/xerces-c/"
+license=('APACHE')
 depends=('gcc-libs' 'curl')
 options=('!libtool')
-source=("http://apache.osuosl.org/xerces/c/3/sources/xerces-c-${pkgver}.tar.gz")
+source=("http://apache.osuosl.org/xerces/c/3/sources/${pkgname}-${pkgver}.tar.gz")
 md5sums=('6a8ec45d83c8cfb1584c5a5345cb51ae')
 
 build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  ./configure --prefix=/usr --sysconfdir=/etc
+  cd ${pkgname}-${pkgver}
+  ./configure --prefix=/usr \
+    --sysconfdir=/etc
   make
-  make DESTDIR=${pkgdir}/ install
 }
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}/" install
+}




More information about the arch-commits mailing list