summaryrefslogtreecommitdiff
path: root/games/triplea
diff options
context:
space:
mode:
Diffstat (limited to 'games/triplea')
-rw-r--r--games/triplea/triplea.SlackBuild8
-rw-r--r--games/triplea/triplea.info6
2 files changed, 8 insertions, 6 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
diff --git a/games/triplea/triplea.info b/games/triplea/triplea.info
index 8db22de49e..92fd9a905e 100644
--- a/games/triplea/triplea.info
+++ b/games/triplea/triplea.info
@@ -1,8 +1,8 @@
PRGNAM="triplea"
-VERSION="1.8.0.5"
+VERSION="1.8.0.7"
HOMEPAGE="http://triplea.sourceforge.net/mywiki/TripleA"
-DOWNLOAD="http://downloads.sourceforge.net/project/tripleamaps/TripleA/stable/1_8_0_5_extra_maps/triplea_1_8_0_5_all_platforms.zip"
-MD5SUM="61c21b07f088cd68725ab99bb06cc05b"
+DOWNLOAD="http://downloads.sourceforge.net/project/tripleamaps/TripleA/stable/1_8_0_7_extra_maps/triplea_1_8_0_7_all_platforms.zip"
+MD5SUM="d01accf021288435e1d21bb915a35951"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="jdk"