Uppgraded to 2.0-preview

This commit is contained in:
Gwenhael Le Moine 2011-09-07 21:45:42 +02:00
parent 583b40f7bc
commit c6eb5ba911

View file

@ -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