summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorAndrew Lobanov <spline1986@gmail.com>2015-01-13 23:51:55 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-01-13 23:51:55 +0700
commitb448f592dc4668daa2c027126c4844666132570b (patch)
tree7142ad8f2b6979039f6c33bd56916582efd9e7ff /games
parent37d1d89844fba54550f78802f092e5c41022ebe2 (diff)
downloadslackbuilds-b448f592dc4668daa2c027126c4844666132570b.tar.gz
games/instead: Update CMake Parameters.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/instead/instead.SlackBuild17
1 files changed, 10 insertions, 7 deletions
diff --git a/games/instead/instead.SlackBuild b/games/instead/instead.SlackBuild
index b58be6fce0..14e3c204e8 100644
--- a/games/instead/instead.SlackBuild
+++ b/games/instead/instead.SlackBuild
@@ -55,15 +55,18 @@ if [ ! -d ./build ]; then
fi
cd build
cmake \
- -DBINDIR=/usr/bin \
- -DDOCDIR=/usr/doc \
- -DMANDIR=/usr/man \
- -DDATADIR=/usr/share \
- -DICONDIR=/usr/share/pixmaps \
- -DDESKTOPDIR=/usr/share/applications \
+ -DCMAKE_INSTALL_PREFIX:PATH=/usr \
+ -DBINDIR=bin \
+ -DDOCDIR=doc \
+ -DMANDIR=man \
+ -DDATADIR=share \
+ -DICONDIR=share/pixmaps \
+ -DDESKTOPDIR=share/applications \
+ -DLANGDIR=share/lang \
../
make
-make install DESTDIR=$PKG PREFIX=/usr
+make install DESTDIR=$PKG
+# PREFIX=/usr
cd ..
# Create a directory for documentation