# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=xerces2-java
pkgver=2.11.0
pkgrel=1
pkgdesc="High performance fully compliant Java XML parser"
arch=('any')
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/xerces/j/Xerces-J-bin.${pkgver}.tar.gz)

build() {
/bin/true
}

package() {
  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
}
md5sums=('29d731e0ae57eb3f2e09af6594bc2515')