summaryrefslogtreecommitdiff
path: root/games/doomsday/doomsday.SlackBuild
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2016-01-20 00:21:04 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-20 23:59:30 +0700
commit6713c4cdcf475881e2185c99d9de7ef5fc2dc2eb (patch)
tree89be7f6a37051cc48299346e5d935d9de992a22a /games/doomsday/doomsday.SlackBuild
parent8c877e11f89e2795af3e0e12bc98a3925abf11cf (diff)
downloadslackbuilds-6713c4cdcf475881e2185c99d9de7ef5fc2dc2eb.tar.gz
games/doomsday: Fixed file ownership.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games/doomsday/doomsday.SlackBuild')
-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