summaryrefslogtreecommitdiff
path: root/games/megaglest/megaglest.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/megaglest/megaglest.SlackBuild')
-rw-r--r--games/megaglest/megaglest.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/games/megaglest/megaglest.SlackBuild b/games/megaglest/megaglest.SlackBuild
index 71911f5275..cc2e578328 100644
--- a/games/megaglest/megaglest.SlackBuild
+++ b/games/megaglest/megaglest.SlackBuild
@@ -5,7 +5,7 @@
# Written by Larry Hajali <larryhaj[at]gmail[dot]com>
PRGNAM=megaglest
-VERSION=${VERSION:-3.6.0.1}
+VERSION=${VERSION:-3.6.0.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -47,6 +47,7 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCDIR
tar xvf $CWD/$PRGNAM-source-$VERSION.tar.xz
+tar xvf $CWD/$PRGNAM-source-embedded-$VERSION.tar.xz
tar xvf $CWD/$PRGNAM-data-$VERSION.tar.xz -C $SRCDIR
cd $SRCDIR
find . -type l -exec rm -f '{}' \;
@@ -88,7 +89,7 @@ cd ..
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
-find $PKG/usr/man -type f -exec gzip -9 {} \;
+[ -d "$PKG/usr/man" ] && gzip -9 $PKG/usr/man/man?/*.?
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \