From 10e32966dda585e43a93c814c7f60c899ea5dade Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Fri, 4 Dec 2015 18:05:06 -0500 Subject: jlex-1.2.6-1.parabola2: rebuild --- pcr/jlex/PKGBUILD | 10 +++++++--- pcr/jlex/jlex.sh | 2 ++ 2 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 pcr/jlex/jlex.sh (limited to 'pcr') 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 -- cgit v1.2.3-54-g00ecf