summaryrefslogtreecommitdiff
path: root/development
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
parente1ffdd7b61605ca4ff85908ff51b9f7dbe2d99b3 (diff)
downloadslackbuilds-2aaef9fca61d9a4d7e8da440c8d752091f97d2a4.tar.gz
development/javacc: Updated for version 6.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r--development/javacc/javacc.SlackBuild6
-rw-r--r--development/javacc/javacc.info8
2 files changed, 7 insertions, 7 deletions
diff --git a/development/javacc/javacc.SlackBuild b/development/javacc/javacc.SlackBuild
index c28ca8b294..1a15cecf5a 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 \
diff --git a/development/javacc/javacc.info b/development/javacc/javacc.info
index 0208a40cf7..58a34d4a50 100644
--- a/development/javacc/javacc.info
+++ b/development/javacc/javacc.info
@@ -1,8 +1,8 @@
PRGNAM="javacc"
-VERSION="5.0"
-HOMEPAGE="https://javacc.dev.java.net"
-DOWNLOAD="http://java.net/projects/javacc/downloads/download/javacc-5.0.tar.gz"
-MD5SUM="ec3738abfa889c94a82f56453633d6bc"
+VERSION="6.0"
+HOMEPAGE="https://javacc.java.net/"
+DOWNLOAD="https://java.net/projects/javacc/downloads/download/javacc-6.0.zip"
+MD5SUM="74e524f71eea2b2b70d6a2d30b1904a9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="jdk"