summaryrefslogtreecommitdiff
path: root/games/wordwarvi/wordwarvi.SlackBuild
diff options
context:
space:
mode:
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