PKGBUILDs/extra/xerces2-java/PKGBUILD

23 lines
679 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=xerces2-java
pkgver=2.9.1
pkgrel=2
pkgdesc="High performance fully compliant Java XML parser"
arch=('i686' 'x86_64')
url="http://xml.apache.org/xerces2-j"
license=('APACHE')
provides=("java-xerces2=${pkgver}")
conflicts=('java-xerces2')
replaces=('java-xerces2')
source=(http://www.apache.org/dist/xml/xerces-j/Xerces-J-bin.${pkgver}.tar.gz)
md5sums=('32718d4cbe009f93d551ab8d3ef4b2aa')
build() {
cd $startdir/src/xerces-${pkgver//./_}
install -m755 -d ${pkgdir}/usr/share/java
rm -f xercesSamples.jar
install -m644 *.jar ${pkgdir}/usr/share/java/ || return 1
}