summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/marathon-rubicon-data/marathon-rubicon-data.SlackBuild14
1 files changed, 12 insertions, 2 deletions
diff --git a/games/marathon-rubicon-data/marathon-rubicon-data.SlackBuild b/games/marathon-rubicon-data/marathon-rubicon-data.SlackBuild
index 9e496caa97..7fc04b0ec3 100644
--- a/games/marathon-rubicon-data/marathon-rubicon-data.SlackBuild
+++ b/games/marathon-rubicon-data/marathon-rubicon-data.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=marathon-rubicon-data
VERSION=${VERSION:-20060807} # Last modified date from the zipfile's http header
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
ARCH=noarch
@@ -69,7 +69,7 @@ ALEPHONE_DATA="$DATA/Rubicon X ƒ"
export ALEPHONE_DATA
exec alephone "\$@"
EOF
-find $PKG/usr/games -perm 644 -exec chmod 755 {} \;
+chmod 0755 $PKG/usr/games/$WRAPPER
# Write a desktop file
mkdir -p $PKG/usr/share/applications
@@ -83,6 +83,16 @@ Comment=Marathon: Rubicon X (first-person shooter game)
Categories=Game;ActionGame;
EOF
+# Restore the old AI limits
+# https://github.com/Aleph-One-Marathon/alephone/issues/62
+cat > $DATADIR/Rubicon\ X\ ƒ/Scripts/AI <<EOF
+<marathon>
+ <dynamic_limits>
+ <paths value="128"/>
+ </dynamic_limits>
+</marathon>
+EOF
+
# Don't want this
rm -rf $DATADIR/__MACOSX