summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-12-04 18:05:06 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-12-04 18:05:06 -0500
commit10e32966dda585e43a93c814c7f60c899ea5dade (patch)
tree86516a6ee3b473da17a40ef0647db620df6bf11c
parent87a105cdb023cd991df0fb398154626670234dec (diff)
jlex-1.2.6-1.parabola2: rebuild
-rw-r--r--pcr/jlex/PKGBUILD10
-rw-r--r--pcr/jlex/jlex.sh2
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