From bcf51ed301fc588f912b9fb133ca1899989477cd Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Mon, 11 May 2015 00:58:22 -0400 Subject: games/wargus: Updated for version 2.3.0. --- games/wargus/wargus.SlackBuild | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'games/wargus/wargus.SlackBuild') diff --git a/games/wargus/wargus.SlackBuild b/games/wargus/wargus.SlackBuild index ffe80c1a80..60f39df407 100644 --- a/games/wargus/wargus.SlackBuild +++ b/games/wargus/wargus.SlackBuild @@ -7,7 +7,7 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. PRGNAM=wargus -VERSION=${VERSION:-2.2.7} +VERSION=${VERSION:-2.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -53,6 +53,12 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# 20150511 bkw: upstream hardcodes a particular soundfont but +# doesn't ship it. We'll use the one from fluid-soundfont. +sed -i \ + 's,music/TimGM6mb.sf2,/usr/share/sounds/sf2/FluidR3_GM.sf2,' \ + scripts/stratagus.lua + mkdir -p build cd build cmake \ @@ -74,7 +80,7 @@ CONTAINS="does not contain" REDIST="This binary package may be redistributed." if [ -n "$GAMEDATA" ]; then WARTOOL=$PKG/usr/bin/wartool \ - $CWD/extract-warcraft2 \ + sh $CWD/extract-warcraft2 \ "$GAMEDATA" \ $PKG/usr/share/games/stratagus/$PRGNAM if [ "$?" = "0" ]; then -- cgit v1.2.3