diff --git a/d/play/play.SlackBuild b/d/play/play.SlackBuild index 135122bc..a96fc7c7 100755 --- a/d/play/play.SlackBuild +++ b/d/play/play.SlackBuild @@ -5,7 +5,8 @@ CWD=$(pwd) PRGNAM=$(basename $CWD) ARCH=java -VERSION=1.2.2 +VERSION=2.0-preview +DIRVERSION=2.0 BUILD=1 TAG=cyco @@ -23,8 +24,10 @@ rm -fr $PKG mkdir -p $PKG/opt $PKG$PREFIX/doc/$PRGNAM $PKG$PREFIX/bin cd $PKG/opt unzip $CWD/$PRGNAM-$VERSION.zip +mv $PRGNAM-$DIRVERSION $PRGNAM-$VERSION cd $PRGNAM-$VERSION -rm play.bat +[ -e play.bat ] && rm play.bat +chmod +x play cd $PKG$PREFIX/doc/$PRGNAM ln -s ../../../opt/$PRGNAM-$VERSION/COPYING ln -s ../../../opt/$PRGNAM-$VERSION/README.textile