summaryrefslogtreecommitdiff
path: root/games/megaglest/megaglest.SlackBuild
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2012-06-02 19:47:45 -0400
committerErik Hanson <erik@slackbuilds.org>2012-06-03 15:21:13 -0500
commit51a4f7a567abc5093dded89c0a267b267755bc0f (patch)
tree32d6372c31978c1d36c9c95a930e9ae1c3990ac0 /games/megaglest/megaglest.SlackBuild
parent68c101fa7760c99a589a6f0c47d188449a263b6f (diff)
downloadslackbuilds-51a4f7a567abc5093dded89c0a267b267755bc0f.tar.gz
games/megaglest: Updated for version 3.6.0.3.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
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 \