diff options
Diffstat (limited to 'games/wargus/wargus.SlackBuild')
-rw-r--r-- | games/wargus/wargus.SlackBuild | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/games/wargus/wargus.SlackBuild b/games/wargus/wargus.SlackBuild index ffe80c1a80134..60f39df407e9f 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 |