aboutsummaryrefslogtreecommitdiff
path: root/development/javacc/javacc.SlackBuild
diff options
context:
space:
mode:
authorAlan Alberghini <414n@slacky.it>2014-11-30 12:26:58 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-11-30 12:26:58 +0700
commit2aaef9fca61d9a4d7e8da440c8d752091f97d2a4 (patch)
tree7e1b4d3bafdd3c6470c9e217afaa9850039dee77 /development/javacc/javacc.SlackBuild
parente1ffdd7b61605ca4ff85908ff51b9f7dbe2d99b3 (diff)
development/javacc: Updated for version 6.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/javacc/javacc.SlackBuild')
-rw-r--r--development/javacc/javacc.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/development/javacc/javacc.SlackBuild b/development/javacc/javacc.SlackBuild
index c28ca8b294dc..1a15cecf5a81 100644
--- a/development/javacc/javacc.SlackBuild
+++ b/development/javacc/javacc.SlackBuild
@@ -29,7 +29,7 @@
# 1 - Initial release.
PRGNAM=javacc
-VERSION=${VERSION:-5.0}
+VERSION=${VERSION:-6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -48,7 +48,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf "$CWD/javacc-5.0.tar.gz"
+unzip "$CWD/${PRGNAM}-${VERSION}.zip"
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -64,7 +64,7 @@ mkdir -p "$PKG/opt/$PRGNAM/" "$PKG/usr/bin" "$PKG/usr/doc/$PRGNAM-$VERSION"
cp bin/lib/javacc.jar "$PKG/opt/$PRGNAM"
# Copy the wrapper scripts to /usr/bin
-install -m0755 -t "$PKG/usr/bin" "$CWD/javacc" "$CWD/jjtree" "$CWD/jjdoc" bin/jjrun
+install -m0755 -t "$PKG/usr/bin" "$CWD/javacc" "$CWD/jjtree" "$CWD/jjdoc"
# Copy program documentation into the package
cp -a \