games/triplea: Updated for version 1.8.0.4.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Dimitris Zlatanidis 2014-12-06 07:45:52 +07:00 committed by Willy Sudiarto Raharjo
parent e185076951
commit f333a2eb32
2 changed files with 10 additions and 13 deletions

View file

@ -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

View file

@ -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"