summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/wordwarvi/wordwarvi.SlackBuild12
-rw-r--r--games/wordwarvi/wordwarvi.info6
2 files changed, 8 insertions, 10 deletions
diff --git a/games/wordwarvi/wordwarvi.SlackBuild b/games/wordwarvi/wordwarvi.SlackBuild
index 9fba3c69d8..79f7608367 100644
--- a/games/wordwarvi/wordwarvi.SlackBuild
+++ b/games/wordwarvi/wordwarvi.SlackBuild
@@ -6,11 +6,12 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20210224 bkw: update for v1.0.4
# 20170302 bkw: use long-format github URL, add .desktop, BUILD=2
PRGNAM=wordwarvi
-VERSION=${VERSION:-1.0.2}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.0.4}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -49,11 +50,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
make OPTIMIZE_FLAG="$SLKCFLAGS" MANDIR=/usr/man SCREENSAVERFLAG=-DDO_INHIBIT_SCREENSAVER
make install MANDIR=/usr/man DESTDIR=$PKG
diff --git a/games/wordwarvi/wordwarvi.info b/games/wordwarvi/wordwarvi.info
index 2ee105d536..0a80d673d2 100644
--- a/games/wordwarvi/wordwarvi.info
+++ b/games/wordwarvi/wordwarvi.info
@@ -1,8 +1,8 @@
PRGNAM="wordwarvi"
-VERSION="1.0.2"
+VERSION="1.0.4"
HOMEPAGE="https://github.com/smcameron/wordwarvi"
-DOWNLOAD="https://github.com/smcameron/wordwarvi/archive/v1.0.2/wordwarvi-1.0.2.tar.gz"
-MD5SUM="c55fad24f42ad2be0e06ac70f5fbc0be"
+DOWNLOAD="https://github.com/smcameron/wordwarvi/archive/v1.0.4/wordwarvi-1.0.4.tar.gz"
+MD5SUM="3b25d6cc973cdba85db37266b73de950"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="portaudio"