diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2015-09-21 06:58:20 +0300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-09-26 10:05:34 +0700 |
commit | 57f095d4380fa5fedadeb6657fae205fd4f550c1 (patch) | |
tree | 4460b32c4703e1e73f9de66bbcc76082a949d9be /games/minetest/minetest.SlackBuild | |
parent | 3fb106717e2239ad207ab5e54505a1541e669da4 (diff) | |
download | slackbuilds-57f095d4380fa5fedadeb6657fae205fd4f550c1.tar.gz |
games/minetest: Updated for version 0.4.13.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'games/minetest/minetest.SlackBuild')
-rw-r--r-- | games/minetest/minetest.SlackBuild | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/games/minetest/minetest.SlackBuild b/games/minetest/minetest.SlackBuild index b2d82a5041..7de6b197bd 100644 --- a/games/minetest/minetest.SlackBuild +++ b/games/minetest/minetest.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for minetest -# Copyright 2014 Dimitris Zlatanidis Greece-Orestiada +# Copyright 2014-2015 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=minetest -VERSION=${VERSION:-0.4.12} +VERSION=${VERSION:-0.4.13} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -69,6 +69,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# Fix man page path +sed -i "s/share\/man/man/" CMakeLists.txt + mkdir -p build cd build cmake \ @@ -84,15 +87,11 @@ 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 -mkdir -p $PKG/usr/man -mv $PKG/usr/share/man/man6 $PKG/usr/man -rm -rf $PKG/usr/share/man - 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 +cp -a README.txt minetest.conf* doc/*.txt $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |