summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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