aboutsummaryrefslogtreecommitdiff
path: root/games/minetest
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2015-09-21 06:58:20 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-09-26 10:05:34 +0700
commit57f095d4380fa5fedadeb6657fae205fd4f550c1 (patch)
tree4460b32c4703e1e73f9de66bbcc76082a949d9be /games/minetest
parent3fb106717e2239ad207ab5e54505a1541e669da4 (diff)
games/minetest: Updated for version 0.4.13.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'games/minetest')
-rw-r--r--games/minetest/minetest.SlackBuild13
-rw-r--r--games/minetest/minetest.info6
2 files changed, 9 insertions, 10 deletions
diff --git a/games/minetest/minetest.SlackBuild b/games/minetest/minetest.SlackBuild
index b2d82a504175..7de6b197bdf8 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 96791f3edd5f..36e85055409e 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"