diff options
-rw-r--r-- | games/minetest/minetest.SlackBuild | 13 | ||||
-rw-r--r-- | games/minetest/minetest.info | 6 |
2 files changed, 9 insertions, 10 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 diff --git a/games/minetest/minetest.info b/games/minetest/minetest.info index 96791f3edd..36e8505540 100644 --- a/games/minetest/minetest.info +++ b/games/minetest/minetest.info @@ -1,8 +1,8 @@ PRGNAM="minetest" -VERSION="0.4.12" +VERSION="0.4.13" HOMEPAGE="http://minetest.net/" -DOWNLOAD="https://github.com/minetest/minetest/archive/0.4.12.tar.gz" -MD5SUM="67d383346ffa08819d062a65614291d6" +DOWNLOAD="https://github.com/minetest/minetest/archive/0.4.13.tar.gz" +MD5SUM="e3385b55faeb1164ac5349dd9b21b461" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="OpenAL luajit irrlicht" |