summaryrefslogtreecommitdiff
path: root/games/ut2004
diff options
context:
space:
mode:
Diffstat (limited to 'games/ut2004')
-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=""