summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2014-06-25 23:14:02 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-06-25 23:14:02 +0700
commit772a4143deb3a76b6ccd496c4d1017ed2d21f702 (patch)
treecaf535066d1df03983939330ab5615776d980409
parent73807f11b5d1d88af14955f43e2db823c5ca4e43 (diff)
downloadslackbuilds-772a4143deb3a76b6ccd496c4d1017ed2d21f702.tar.gz
games/galaxyv2: Updated for version 1.80.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--games/galaxyv2/doinst.sh1
-rw-r--r--games/galaxyv2/galaxyv2.SlackBuild12
-rw-r--r--games/galaxyv2/galaxyv2.desktop2
-rw-r--r--games/galaxyv2/galaxyv2.info6
4 files changed, 11 insertions, 10 deletions
diff --git a/games/galaxyv2/doinst.sh b/games/galaxyv2/doinst.sh
index 408d5f51bd..8542d1c18e 100644
--- a/games/galaxyv2/doinst.sh
+++ b/games/galaxyv2/doinst.sh
@@ -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
diff --git a/games/galaxyv2/galaxyv2.SlackBuild b/games/galaxyv2/galaxyv2.SlackBuild
index cdcd1fe52c..d58878ea12 100644
--- a/games/galaxyv2/galaxyv2.SlackBuild
+++ b/games/galaxyv2/galaxyv2.SlackBuild
@@ -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
diff --git a/games/galaxyv2/galaxyv2.desktop b/games/galaxyv2/galaxyv2.desktop
index a2c539a529..ebb5b90056 100644
--- a/games/galaxyv2/galaxyv2.desktop
+++ b/games/galaxyv2/galaxyv2.desktop
@@ -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
diff --git a/games/galaxyv2/galaxyv2.info b/games/galaxyv2/galaxyv2.info
index d2ceede4e5..8e8f1e5a65 100644
--- a/games/galaxyv2/galaxyv2.info
+++ b/games/galaxyv2/galaxyv2.info
@@ -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=""