aboutsummaryrefslogtreecommitdiff
path: root/games/marathon-rubicon-data/marathon-rubicon-data.SlackBuild
diff options
context:
space:
mode:
authorHunter Sezen <orbea@fredslev.dk>2018-11-09 22:54:40 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-11-09 22:54:40 +0700
commit5772722e383caa8dbf45b2d676d4440ef632db60 (patch)
tree24fd0b0873ca14c5e1ef01f9ad5e71621882958d /games/marathon-rubicon-data/marathon-rubicon-data.SlackBuild
parente500100a37eed82702fb4e21a90b8e88568129e9 (diff)
games/marathon-rubicon-data: Restores the original AI limits.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/marathon-rubicon-data/marathon-rubicon-data.SlackBuild')
-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 9e496caa9744..7fc04b0ec356 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