summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"