summaryrefslogtreecommitdiff
path: root/games/wordwarvi/wordwarvi.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2016-07-27 04:59:13 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-08-13 07:22:55 +0700
commit045f27f8c24340d8e386867a1fe52609615c15ef (patch)
tree88e993285f3a1d7e27fa56b41e3465d1739ba020 /games/wordwarvi/wordwarvi.SlackBuild
parent142b9bacfa77369bb52ea841d859e70be4096bbd (diff)
downloadslackbuilds-045f27f8c24340d8e386867a1fe52609615c15ef.tar.gz
games/wordwarvi: Updated for version 1.0.2.
Diffstat (limited to 'games/wordwarvi/wordwarvi.SlackBuild')
-rw-r--r--games/wordwarvi/wordwarvi.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/games/wordwarvi/wordwarvi.SlackBuild b/games/wordwarvi/wordwarvi.SlackBuild
index a5e2a7254e..672adccae3 100644
--- a/games/wordwarvi/wordwarvi.SlackBuild
+++ b/games/wordwarvi/wordwarvi.SlackBuild
@@ -7,7 +7,7 @@
# Licensed under the WTFPL. See http://sam.zoy.org/wtfpl/ for details.
PRGNAM=wordwarvi
-VERSION=${VERSION:-1.00}
+VERSION=${VERSION:-1.0.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -44,7 +44,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf v$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -55,7 +55,7 @@ find -L . \
make OPTIMIZE_FLAG="$SLKCFLAGS" MANDIR=/usr/man SCREENSAVERFLAG=-DDO_INHIBIT_SCREENSAVER
make install MANDIR=/usr/man DESTDIR=$PKG
-strip $PKG/usr/bin/$PRGNAM
+strip $PKG/usr/games/$PRGNAM
mkdir -p $PKG/usr/share/pixmaps
cat icons/${PRGNAM}_icon_128x128.png > $PKG/usr/share/pixmaps/$PRGNAM.png