Last active
December 20, 2015 14:39
-
-
Save marsam/6148648 to your computer and use it in GitHub Desktop.
PKGBUILD for saxon home edition
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Maintainer: Mario Rodas <rodasmario2@gmail.com> | |
| pkgname=saxon-he | |
| pkgver=9.5.1.1 | |
| pkgrel=1 | |
| pkgdesc="XSLT 2.0 / XPath 2.0 / XQuery 1.0 processor for Java - Home edition" | |
| arch=('any') | |
| url="http://saxon.sourceforge.net/" | |
| license=('MPL') | |
| depends=('sh' 'java-environment') | |
| provides=('java-saxon') | |
| conflicts=('java-saxon') | |
| makedepends=() | |
| options=('!emptydirs') | |
| source=("http://downloads.sourceforge.net/project/saxon/Saxon-HE/9.5/SaxonHE${pkgver//./-}J.zip" | |
| "saxon9he-xquery.sh" | |
| "saxon9he-xslt.sh" | |
| "saxon.sh") | |
| md5sums=('00083ece7ffd4af4636f146d5f55e612' | |
| '6fd4020e45f49d66bbf4ad2251daa80d' | |
| 'acf30d9920e1fbc1ef78e6d7861afbed' | |
| '137bf451b7071f60e8947c2e7a273f26') | |
| package() { | |
| cd $srcdir | |
| install -d $pkgdir/usr/share/java/saxon | |
| install -m644 *.jar $pkgdir/usr/share/java/saxon | |
| install -Dm755 $srcdir/saxon9he-xslt.sh $pkgdir/usr/bin/saxon9he-xslt | |
| install -Dm755 $srcdir/saxon9he-xquery.sh $pkgdir/usr/bin/saxon9he-xquery | |
| install -Dm755 $srcdir/saxon.sh $pkgdir/usr/bin/saxon | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| exec "$JAVA_HOME/bin/java" -jar /usr/share/java/saxon/saxon9he.jar "$@"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| exec "$JAVA_HOME/bin/java" -classpath /usr/share/java/saxon/saxon9he.jar net.sf.saxon.Query "$@" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| exec "$JAVA_HOME/bin/java" -classpath /usr/share/java/saxon/saxon9he.jar net.sf.saxon.Transform "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment