blob: 488f1550c17eacfe7ecc1bdc5d6495d618b25946 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Maintainer: eolianoe <eolianoe [at] gmail [DoT] com>
# Contributor: Andya <hugo981@gmx.com>
# Contributor: Lazaros Koromilas <koromilaz@gmail.com>
pkgname=saxon-he
_major=9.8
_minor=0.6
pkgver=${_major}.${_minor}
_pkgver=${pkgver//./-}
pkgrel=1
pkgdesc="XSLT 2.0 / XPath 2.0 and 3.0 / XQuery 1.0 and 3.0 processor for Java - Home Edition"
url="http://saxon.sourceforge.net/"
license=('MPL')
arch=('any')
depends=('java-runtime-headless')
provides=('java-saxon')
conflicts=('java-saxon')
source=("http://sourceforge.net/projects/saxon/files/Saxon-HE/${_major}/SaxonHE${_pkgver}J.zip"
saxon-xslt.sh
saxon-xquery.sh)
md5sums=('846b041a6612b32a8bbb496805ceaec6'
'4197e2b5278a02e0aa7d383d9dc4f11d'
'1a37078990f913ce7c37eb3a1bd39283')
package() {
cd "${srcdir}"
install -Dm644 saxon9he.jar "${pkgdir}/usr/share/java/saxon/saxon9he.jar"
install -Dm755 saxon-xslt.sh "${pkgdir}/usr/bin/saxon-xslt"
install -Dm755 saxon-xquery.sh "${pkgdir}/usr/bin/saxon-xquery"
# link with simpler name for compat with others
ln -s saxon9he.jar "${pkgdir}/usr/share/java/saxon/saxon.jar"
ln -s saxon-xslt "${pkgdir}/usr/bin/saxon"
}
|