summaryrefslogtreecommitdiff
path: root/games/galaxyv2/galaxyv2.SlackBuild
diff options
context:
space:
mode:
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