summaryrefslogtreecommitdiff
path: root/games/doomsday
diff options
context:
space:
mode:
Diffstat (limited to 'games/doomsday')
-rw-r--r--games/doomsday/doomsday.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/games/doomsday/doomsday.SlackBuild b/games/doomsday/doomsday.SlackBuild
index 7556c03d3c..0e0a46d412 100644
--- a/games/doomsday/doomsday.SlackBuild
+++ b/games/doomsday/doomsday.SlackBuild
@@ -62,7 +62,7 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
-cd $SRCNAM-$VERSION/$PRGNAM
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -70,6 +70,8 @@ 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 {} \;
+cd $PRGNAM
+
qmake # create Makefile
make # Build
make INSTALL_ROOT=$PKG install # Install engine