summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoreolianoe2016-10-17 12:12:27 +0200
committereolianoe2016-10-17 12:12:27 +0200
commit22306de3bd4587e71ce84b36a05dfcb05f0a9f54 (patch)
treeff893a845d7a5cb13dc9195ffaf7baad153cf460
parent3a32a027063c4d2621683502e197995729b99ebb (diff)
downloadaur-22306de3bd4587e71ce84b36a05dfcb05f0a9f54.tar.gz
Adopted and updated
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD19
2 files changed, 11 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2a4cf2d0f0ed..84bf2188d353 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Thu Sep 1 18:17:11 UTC 2016
+# Mon Oct 17 10:06:51 UTC 2016
pkgbase = saxon-he
pkgdesc = XSLT 2.0 / XPath 2.0 and 3.0 / XQuery 1.0 and 3.0 processor for Java - Home Edition
pkgver = 9.7.0.8
diff --git a/PKGBUILD b/PKGBUILD
index 397b432ed2c7..e2bc3a3c98b1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,12 +1,13 @@
-# Maintainer: Andya <hugo981@gmx.com>
+# Maintainer: eolianoe <eolianoe [at] gmail [DoT] com>
+# Contributor: Andya <hugo981@gmx.com>
# Contributor: Lazaros Koromilas <koromilaz@gmail.com>
pkgname=saxon-he
_major=9.7
_minor=0.8
pkgver=${_major}.${_minor}
-_pkgver=$(echo $pkgver | tr . -)
-pkgrel=1
+_pkgver=${pkgver//./-}
+pkgrel=2
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')
@@ -22,11 +23,11 @@ md5sums=('6365c93548d2ca14dfdc26f83929143c'
'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
+ 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
+ ln -s saxon9he.jar "${pkgdir}/usr/share/java/saxon/saxon.jar"
+ ln -s saxon-xslt "${pkgdir}/usr/bin/saxon"
}