summaryrefslogtreecommitdiff
path: root/games/triplea/triplea.SlackBuild
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/triplea/triplea.SlackBuild
parente1850769517ea0da37f438ded6cc49bbcd917187 (diff)
downloadslackbuilds-f333a2eb32ba5152611f5a9c1b07b710fe7d1b07.tar.gz
games/triplea: Updated for version 1.8.0.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/triplea/triplea.SlackBuild')
-rw-r--r--games/triplea/triplea.SlackBuild17
1 files changed, 7 insertions, 10 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