diff options
-rw-r--r-- | pcr/jlex/PKGBUILD | 10 | ||||
-rw-r--r-- | pcr/jlex/jlex.sh | 2 |
2 files changed, 9 insertions, 3 deletions
diff --git a/pcr/jlex/PKGBUILD b/pcr/jlex/PKGBUILD index 4113d54ae..6cdc1e5d7 100644 --- a/pcr/jlex/PKGBUILD +++ b/pcr/jlex/PKGBUILD @@ -2,7 +2,7 @@ pkgname=jlex pkgver=1.2.6 -pkgrel=1.parabola1 +pkgrel=1.parabola2 pkgdesc="Lex-style lexical analyser generator for Java" arch=('any') license=('custom') @@ -10,9 +10,11 @@ url="http://www.cs.princeton.edu/~appel/modern/java/JLex/" depends=('java-runtime') makedepends=('java-environment' 'jh') source=("http://www.cs.princeton.edu/~appel/modern/java/JLex/Archive/1.2.6/Main.java" - "http://www.cs.princeton.edu/~appel/modern/java/JLex/current/sample.lex") + "http://www.cs.princeton.edu/~appel/modern/java/JLex/current/sample.lex" + "jlex.sh") md5sums=('fe0cff5db3e2f0f5d67a153cf6c783af' - 'ae887758b2657981d023a72a165da830') + 'ae887758b2657981d023a72a165da830' + '902c30f6d3c2c8f6cb52b11c56e0bedf') prepare() { cd ${srcdir} @@ -44,4 +46,6 @@ package() { ln -s "/usr/share/java/JLex.jar" \ "${pkgdir}/usr/share/java/JLex-${pkgver}.jar" + + install -Dm755 "${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}" } diff --git a/pcr/jlex/jlex.sh b/pcr/jlex/jlex.sh new file mode 100644 index 000000000..d67882303 --- /dev/null +++ b/pcr/jlex/jlex.sh @@ -0,0 +1,2 @@ +#!/bin/sh +java -jar /usr/share/java/JLex.jar "$@"
\ No newline at end of file |