summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2018-09-15 22:19:16 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2018-09-21 23:51:08 +0100
commite6aed5b313305aac8164a0c7ec3fe96b04439e9a (patch)
tree1780ee141641ad0e329451c8a17c28536e90047a /games
parent8d38bae73b6959d1618b9ed1db6f5c50f84df62d (diff)
downloadslackbuilds-e6aed5b313305aac8164a0c7ec3fe96b04439e9a.tar.gz
games/wargus: Updated for version 2.4.1.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'games')
-rw-r--r--games/wargus/README11
-rw-r--r--games/wargus/README_SBo.txt (renamed from games/wargus/README_Slackware.txt)0
-rw-r--r--games/wargus/wargus.SlackBuild19
-rw-r--r--games/wargus/wargus.info8
4 files changed, 17 insertions, 21 deletions
diff --git a/games/wargus/README b/games/wargus/README
index f521a25955..e2da4ac6fd 100644
--- a/games/wargus/README
+++ b/games/wargus/README
@@ -2,10 +2,7 @@ wargus (Warcraft II data game set for the Stratagus engine)
Wargus can be used to play Warcraft II from Blizzard Entertainment.
-You need the original Warcraft II for DOS or the Beyond the Dark
-Portal expansion pack to extract the game data files. See the file
-README_Slackware.txt for full instructions. If you don't read the
-instructions, you won't get a playable game.
-
-Upgrade note: dependencies have changed. Read wargus.info and
-README_Slackware.txt even if you don't think you need to!
+You need the original Warcraft II for DOS or the Beyond the Dark Portal
+expansion pack to extract the game data files. See the file README_SBo.txt
+for full instructions. If you don't read the instructions, you won't
+get a playable game.
diff --git a/games/wargus/README_Slackware.txt b/games/wargus/README_SBo.txt
index 98667a3ab7..98667a3ab7 100644
--- a/games/wargus/README_Slackware.txt
+++ b/games/wargus/README_SBo.txt
diff --git a/games/wargus/wargus.SlackBuild b/games/wargus/wargus.SlackBuild
index 611c8c5119..aa2cfa94bf 100644
--- a/games/wargus/wargus.SlackBuild
+++ b/games/wargus/wargus.SlackBuild
@@ -6,8 +6,10 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20180915 bkw: updated for v2.4.1
+
PRGNAM=wargus
-VERSION=${VERSION:-2.3.0}
+VERSION=${VERSION:-2.4.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -43,15 +45,12 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf ${PRGNAM}_${VERSION}.orig
-tar xvf $CWD/${PRGNAM}_${VERSION}.orig.tar.gz
-cd ${PRGNAM}_${VERSION}.orig
+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 {} \+
# 20150511 bkw: upstream hardcodes a particular soundfont but
# doesn't ship it. We'll use the one from fluid-soundfont.
@@ -93,7 +92,7 @@ fi
install -m0755 -oroot -groot $CWD/extract-warcraft2 $PKG/usr/bin
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp $CWD/README_Slackware.txt COPYING* README doc/changelog doc/*txt \
+cp $CWD/README_SBo.txt COPYING* README* doc/changelog doc/*txt \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/games/wargus/wargus.info b/games/wargus/wargus.info
index 40760b1f53..5095a401e7 100644
--- a/games/wargus/wargus.info
+++ b/games/wargus/wargus.info
@@ -1,8 +1,8 @@
PRGNAM="wargus"
-VERSION="2.3.0"
-HOMEPAGE="http://wargus.sourceforge.net/index.shtml"
-DOWNLOAD="https://launchpad.net/wargus/trunk/2.3/+download/wargus_2.3.0.orig.tar.gz"
-MD5SUM="46d5d1b64d78efc3ddaab119e4a2ea33"
+VERSION="2.4.1"
+HOMEPAGE="https://github.com/Wargus/wargus/"
+DOWNLOAD="https://github.com/Wargus/wargus/archive/v2.4.1/wargus-2.4.1.tar.gz"
+MD5SUM="4a387868da26df4a4aebff19b6b7b6b1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="stratagus ffmpeg2theora fluidsynth fluid-soundfont"