games/marathon-rubicon-data: Restores the original AI limits.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Hunter Sezen 2018-11-09 22:54:40 +07:00 committed by Willy Sudiarto Raharjo
parent e500100a37
commit 5772722e38
1 changed files with 12 additions and 2 deletions

View File

@ -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