summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2015-08-19 08:00:45 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-08-22 23:41:57 +0700
commit436ae3a1f440619fb3164b504ec9efb7bdb7b93d (patch)
tree7db00d1237f24eeadccf0a2eccc34843dfc7b760 /games
parentae275c06258e321b37dd4b6ad64d0fed8c017d37 (diff)
downloadslackbuilds-436ae3a1f440619fb3164b504ec9efb7bdb7b93d.tar.gz
games/triplea: Updated for version 1.8.0.7.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'games')
-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"