aboutsummaryrefslogtreecommitdiff
path: root/games/voxelands/voxelands.SlackBuild
diff options
context:
space:
mode:
authorAndrew Conway <mcnalu@mcnalu.net>2014-10-01 15:09:58 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-10-03 10:16:57 +0700
commite2e00e815a681ba20a1ef151cce38f8115b299cf (patch)
tree035a64c4d182110001d9e0e617cddae8c5018b6a /games/voxelands/voxelands.SlackBuild
parent83590076c79a2e4bc868310cc44fb86e034dc5b8 (diff)
games/voxelands: Updated for version 1409.00.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/voxelands/voxelands.SlackBuild')
-rw-r--r--games/voxelands/voxelands.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/games/voxelands/voxelands.SlackBuild b/games/voxelands/voxelands.SlackBuild
index 6d477a4e9339f..9231c6fb4844b 100644
--- a/games/voxelands/voxelands.SlackBuild
+++ b/games/voxelands/voxelands.SlackBuild
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=voxelands
-VERSION=${VERSION:-1408.00}
+VERSION=${VERSION:-1409.00}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,7 +60,7 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
+rm -rf $PRGNAM
tar xf $CWD/$PRGNAM-$VERSION-src.tar.bz2
cd $PRGNAM
chown -R root:root .
@@ -82,6 +82,10 @@ make install DESTDIR=$PKG
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
+mv $PKG/usr/share/man $PKG/usr
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README.txt doc/* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild