# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Hussam Al-Tayeb <ht990332@gmail.com>

pkgname=xalan-java
pkgver=2.7.1
pkgrel=3
pkgdesc="XSLT processor for transforming XML documents into HTML, text, or other XML document types"
arch=('any')
license=('APACHE')
url="http://xml.apache.org/xalan-j"
depends=('xerces2-java')
source=(http://www.apache.org/dist/xml/xalan-j/xalan-j_${pkgver//./_}-bin-2jars.tar.gz)
md5sums=('3ccda39bcd08b780436dfd2f22fb23d5')

build() {
  cd ${srcdir}/xalan-j_${pkgver//./_}
  install -m755 -d ${pkgdir}/usr/share/java
  install -m644 xalan.jar ${pkgdir}/usr/share/java/ || return 1
  install -m644 xsltc.jar ${pkgdir}/usr/share/java/ || return 1
}