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

Allan McRae allan at archlinux.org
Sat Feb 25 02:22:12 EST 2012


    Date: Saturday, February 25, 2012 @ 02:22:11
  Author: allan
Revision: 151195

upgpkg: xerces2-java 2.11.0-2

signing rebuild, add java-runtime dep

Modified:
  xerces2-java/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-02-25 07:16:32 UTC (rev 151194)
+++ PKGBUILD	2012-02-25 07:22:11 UTC (rev 151195)
@@ -1,28 +1,24 @@
 # $Id$
-
 # Maintainer: Andreas Radke <andyrtr at archlinux.org>
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 
 pkgname=xerces2-java
 pkgver=2.11.0
-pkgrel=1
+pkgrel=2
 pkgdesc="High performance fully compliant Java XML parser"
 arch=('any')
 url="http://xml.apache.org/xerces2-j"
 license=('APACHE')
+depends=('java-runtime')
 provides=("java-xerces2=${pkgver}")
 conflicts=('java-xerces2')
 replaces=('java-xerces2')
 source=(http://mirror.checkdomain.de/apache//xerces/j/Xerces-J-bin.${pkgver}.tar.gz)
 md5sums=('29d731e0ae57eb3f2e09af6594bc2515')
 
-build() {
-  /bin/true
-}
-
 package() {
   cd ${srcdir}/xerces-${pkgver//./_}
-  install -m755 -d ${pkgdir}/usr/share/java
-  rm -f xercesSamples.jar
+  install -dm755 ${pkgdir}/usr/share/java
+  rm xercesSamples.jar
   install -m644 *.jar ${pkgdir}/usr/share/java/
 }



More information about the arch-commits mailing list