summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2017-10-11 20:52:59 +0200
committerDavid Spencer <idlemoor@slackbuilds.org>2017-10-14 14:48:36 +0100
commit9b371f535be6f72b35984ef003be05c03998758e (patch)
tree4f41b16985b229e6f0e2a283d901a168d16eea41
parentd130ffc7a89d27ab4ffe89f5fa7d2137026c732e (diff)
downloadslackbuilds-9b371f535be6f72b35984ef003be05c03998758e.tar.gz
games/minetest: Fix man and doc directories.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
-rw-r--r--games/minetest/minetest.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/games/minetest/minetest.SlackBuild b/games/minetest/minetest.SlackBuild
index 2e939b11aa..99eb0becd9 100644
--- a/games/minetest/minetest.SlackBuild
+++ b/games/minetest/minetest.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=minetest
VERSION=${VERSION:-0.4.16}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -79,6 +79,8 @@ cd build
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
+ -DCUSTOM_MANDIR=/usr/man \
+ -DCUSTOM_DOCDIR=/usr/doc/$PRGNAM-$VERSION \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG