diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2015-08-19 08:00:45 +0300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-08-22 23:41:57 +0700 |
commit | 436ae3a1f440619fb3164b504ec9efb7bdb7b93d (patch) | |
tree | 7db00d1237f24eeadccf0a2eccc34843dfc7b760 /games/triplea/triplea.SlackBuild | |
parent | ae275c06258e321b37dd4b6ad64d0fed8c017d37 (diff) |
games/triplea: Updated for version 1.8.0.7.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'games/triplea/triplea.SlackBuild')
-rw-r--r-- | games/triplea/triplea.SlackBuild | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/games/triplea/triplea.SlackBuild b/games/triplea/triplea.SlackBuild index 8d0884864ee4..5f4e19bd2516 100644 --- a/games/triplea/triplea.SlackBuild +++ b/games/triplea/triplea.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for triplea -# Copyright 2014 Dimitris Zlatanidis Greece-Orestiada +# Copyright 2014-2015 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=triplea -SRCVER=${SRCVER:-1_8_0_5_all_platforms} +SRCVER=${SRCVER:-1_8_0_7_all_platforms} VERSION=$(echo $SRCVER | tr _ . | cut -c1-7) SRCDIR=$(echo $SRCVER | cut -c1-7) BUILD=${BUILD:-1} @@ -71,10 +71,12 @@ 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 {} \; - find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +# fix /bin/bash^M: bad interpreter +sed -i -e 's/\r$//' triplea_unix.sh + mkdir -p $PKG/usr/bin $PKG/usr/share/games/$PRGNAM DATA="assets bin dice_servers icons maps old" for item in $DATA; do |