summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2016-05-30 12:14:24 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-06-01 23:54:53 +0700
commitce0a55c56180aa29c4fbebcf6eec6401324c9cc3 (patch)
tree9017c1e2cb0017f897bf20f7cf127401179820a5 /games
parent62b811b9c54fc4a4b5c21edc5d4830aeaed93f31 (diff)
downloadslackbuilds-ce0a55c56180aa29c4fbebcf6eec6401324c9cc3.tar.gz
games/ut2004: Fixed ownership and DOWNLOAD.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
Diffstat (limited to 'games')
-rw-r--r--games/ut2004/ut2004.SlackBuild10
-rw-r--r--games/ut2004/ut2004.info2
2 files changed, 7 insertions, 5 deletions
diff --git a/games/ut2004/ut2004.SlackBuild b/games/ut2004/ut2004.SlackBuild
index 1caeed1932..47b682e602 100644
--- a/games/ut2004/ut2004.SlackBuild
+++ b/games/ut2004/ut2004.SlackBuild
@@ -59,6 +59,12 @@ mkdir -p $PKG/$GAMDIR
chmod +x $CWD/"$PRGNAM"_"$VERSION"-english.midway.dvd-3.run
$CWD/"$PRGNAM"_"$VERSION"-english.midway.dvd-3.run --noexec --target $PKG/$GAMDIR
cd $PKG/$GAMDIR
+
+# Extract binaries based on arch
+tar xvf linux-$UARCH.tar.gz
+rsync -a System patch/
+
+# Now we can set owner and mode
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -66,10 +72,6 @@ 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 {} \;
-# Extract binaries based on arch
-tar xvf linux-$UARCH.tar.gz
-rsync -a System patch/
-
# Move launcher script
chmod +x $PKG/$GAMDIR/bin/ut2004
mv $PKG/$GAMDIR/bin/ut2004 $PKG/$GAMDIR/patch/System
diff --git a/games/ut2004/ut2004.info b/games/ut2004/ut2004.info
index 9d62f4c53a..dfe9e42cdf 100644
--- a/games/ut2004/ut2004.info
+++ b/games/ut2004/ut2004.info
@@ -1,7 +1,7 @@
PRGNAM="ut2004"
VERSION="3369"
HOMEPAGE="http://liflg.org/"
-DOWNLOAD="http://liflg.holarse-linuxgaming.de/files/final/ut2004_3369-english.midway.dvd-3.run"
+DOWNLOAD="https://liflg.reto-schneider.ch/files/final/ut2004_3369-english.midway.dvd-3.run"
MD5SUM="18305704c69655c37ec45e79d64aef66"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""