games/wargus: Updated for version 2.4.1.

Signed-off-by: B. Watson <yalhcru@gmail.com>
This commit is contained in:
B. Watson 2018-09-15 22:19:16 -04:00 committed by David Spencer
parent 8d38bae73b
commit e6aed5b313
4 changed files with 17 additions and 21 deletions

View File

@ -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.

View File

@ -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

View File

@ -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"