summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 57caecae6b..17823fc335 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 f6bfcc1e5f..8407f51218 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"