diff options
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 8d0884864e..5f4e19bd25 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 |