games/galaxyv2: Updated for version 1.80.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Dimitris Zlatanidis 2014-06-25 23:14:02 +07:00 committed by Willy Sudiarto Raharjo
parent 73807f11b5
commit 772a4143de
4 changed files with 11 additions and 10 deletions

View file

@ -1,4 +1,5 @@
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
fi
fi

View file

@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=galaxyv2
SRCVERSION=_1.79_src
VERSION=${VERSION:-1.79}
SRCVERSION=_1.80_src
VERSION=${VERSION:-1.80}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -77,13 +77,13 @@ cd $TMP/$PRGNAM$SRCVERSION
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/share/games/$PRGNAM-$VERSION
cp -rf exe/data/* $PKG/usr/share/games/$PRGNAM-$VERSION
mkdir -p $PKG/usr/share/games/$PRGNAM
cp -rf exe/data/* $PKG/usr/share/games/$PRGNAM
if [ "$ARCH" = "x86_64" ]; then
cp -rf exe/linux_x64/* $PKG/usr/share/games/$PRGNAM-$VERSION
cp -rf exe/linux_x64/* $PKG/usr/share/games/$PRGNAM
else
cp -rf exe/linux_x86/* $PKG/usr/share/games/$PRGNAM-$VERSION
cp -rf exe/linux_x86/* $PKG/usr/share/games/$PRGNAM
fi
mkdir -p $PKG/usr/share/applications

View file

@ -2,7 +2,7 @@
Name=Galaxy Forces V2
Name[he]= Galaxy Forces V2
Comment=Action
Exec=/usr/share/games/galaxyv2-1.79/./galaxyv2
Exec=/usr/share/games/galaxyv2/./galaxyv2
Icon=galaxyv2
Terminal=false
Type=Application

View file

@ -1,8 +1,8 @@
PRGNAM="galaxyv2"
VERSION="1.79"
VERSION="1.80"
HOMEPAGE="http://www.galaxy-forces.com/"
DOWNLOAD="http://downloads.sourceforge.net/galaxyv2/galaxyv2_1.79_src.zip"
MD5SUM="5d40a2ab021cc7a41c87b2188ac87074"
DOWNLOAD="http://downloads.sourceforge.net/galaxyv2/galaxyv2_1.80_src.zip"
MD5SUM="2ffd49262e87bdce2b196dfddf4dd149"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""