From 2aaef9fca61d9a4d7e8da440c8d752091f97d2a4 Mon Sep 17 00:00:00 2001 From: Alan Alberghini <414n@slacky.it> Date: Sun, 30 Nov 2014 12:26:58 +0700 Subject: development/javacc: Updated for version 6.0. Signed-off-by: Willy Sudiarto Raharjo --- development/javacc/javacc.SlackBuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'development/javacc/javacc.SlackBuild') 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 \ -- cgit v1.2.3