aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2014-12-06 07:45:52 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-12-06 07:45:52 +0700
commitf333a2eb32ba5152611f5a9c1b07b710fe7d1b07 (patch)
treef7f77c1ebd5199a539081ce9cbbefb5191dbff5d /games
parente1850769517ea0da37f438ded6cc49bbcd917187 (diff)
games/triplea: Updated for version 1.8.0.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/triplea/triplea.SlackBuild17
-rw-r--r--games/triplea/triplea.info6
2 files changed, 10 insertions, 13 deletions
diff --git a/games/triplea/triplea.SlackBuild b/games/triplea/triplea.SlackBuild
index 57caecae6b86c..17823fc3350f8 100644
--- a/games/triplea/triplea.SlackBuild
+++ b/games/triplea/triplea.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=triplea
-SRCVER=${SRCVER:-1_8_0_3_all_platforms}
+SRCVER=${SRCVER:-1_8_0_4_all_platforms}
VERSION=$(echo $SRCVER | tr _ . | cut -c1-7)
SRCDIR=$(echo $SRCVER | cut -c1-7)
BUILD=${BUILD:-1}
@@ -75,15 +75,12 @@ find -L . \
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
-mkdir -p $PKG/usr/bin \
- $PKG/usr/share/games/$PRGNAM
-cp -a assets \
- bin \
- dice_servers \
- icons \
- maps \
- old \
- $PKG/usr/share/games/$PRGNAM
+mkdir -p $PKG/usr/bin $PKG/usr/share/games/$PRGNAM
+DATA="assets bin dice_servers icons maps old"
+for item in $DATA; do
+ cp -rf $item $PKG/usr/share/games/$PRGNAM
+done
+
install -D -m0755 triplea_unix.sh $PKG/usr/share/games/$PRGNAM/triplea_unix.sh
install -D -m0755 $CWD/triplea $PKG/usr/bin
diff --git a/games/triplea/triplea.info b/games/triplea/triplea.info
index f6bfcc1e5f7af..8407f5121821f 100644
--- a/games/triplea/triplea.info
+++ b/games/triplea/triplea.info
@@ -1,8 +1,8 @@
PRGNAM="triplea"
-VERSION="1.8.0.3"
+VERSION="1.8.0.4"
HOMEPAGE="http://triplea.sourceforge.net/mywiki/TripleA"
-DOWNLOAD="http://downloads.sourceforge.net/project/triplea/TripleA/1_8_0_3_extra_maps/triplea_1_8_0_3_all_platforms.zip"
-MD5SUM="f5b02ce4f5a781149d8516c08529609e"
+DOWNLOAD="http://downloads.sourceforge.net/project/tripleamaps/TripleA/unstable/1_8_0_4/triplea_1_8_0_4_all_platforms.zip"
+MD5SUM="eca5c16c2b9880265d4fc8af287dc1d7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="jdk"