summaryrefslogtreecommitdiffstats
path: root/games/galaxyv2/galaxyv2.SlackBuild
diff options
context:
space:
mode:
author Dimitris Zlatanidis2014-09-21 04:45:35 +0200
committer Willy Sudiarto Raharjo2014-09-25 12:01:43 +0200
commit5a25c73168981b783337d921e6e633b9e707ce1c (patch)
tree277cce15f091d001a0535a2e3ad871a333fd0933 /games/galaxyv2/galaxyv2.SlackBuild
parent86c1461480202c05da209f0a2225f5086204440f (diff)
downloadslackbuilds-5a25c73168981b783337d921e6e633b9e707ce1c.tar.gz
games/galaxyv2: Updated for version 1.82.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/galaxyv2/galaxyv2.SlackBuild')
-rw-r--r--games/galaxyv2/galaxyv2.SlackBuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/games/galaxyv2/galaxyv2.SlackBuild b/games/galaxyv2/galaxyv2.SlackBuild
index 67b72d2acd..7d32b95637 100644
--- a/games/galaxyv2/galaxyv2.SlackBuild
+++ b/games/galaxyv2/galaxyv2.SlackBuild
@@ -23,8 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=galaxyv2
-SRCVERSION=_1.81_src
-VERSION=${VERSION:-1.81}
+VERSION=${VERSION:-1.82}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,9 +59,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM$SRCVERSION
-unzip $CWD/$PRGNAM$SRCVERSION.zip
-cd $PRGNAM$SRCVERSION
+rm -rf ${PRGNAM}_${VERSION}_src
+unzip $CWD/${PRGNAM}_${VERSION}_src.zip
+cd ${PRGNAM}_${VERSION}_src
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -72,7 +71,7 @@ find -L . \
cd build/linux
make all
-cd $TMP/$PRGNAM$SRCVERSION
+cd $TMP/${PRGNAM}_${VERSION}_src
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