diff options
author | Hunter Sezen <orbea@fredslev.dk> | 2018-11-09 22:54:40 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-11-09 22:54:40 +0700 |
commit | 5772722e383caa8dbf45b2d676d4440ef632db60 (patch) | |
tree | 24fd0b0873ca14c5e1ef01f9ad5e71621882958d /games/marathon-rubicon-data | |
parent | e500100a37eed82702fb4e21a90b8e88568129e9 (diff) | |
download | slackbuilds-5772722e383caa8dbf45b2d676d4440ef632db60.tar.gz |
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')
-rw-r--r-- | games/marathon-rubicon-data/marathon-rubicon-data.SlackBuild | 14 |
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 |