diff options
Diffstat (limited to 'development/javacc/javacc.SlackBuild')
-rw-r--r-- | development/javacc/javacc.SlackBuild | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/development/javacc/javacc.SlackBuild b/development/javacc/javacc.SlackBuild index c28ca8b294dcf..1a15cecf5a811 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 \ |