aboutsummaryrefslogtreecommitdiff
path: root/games/wolf4sdl/wolf4sdl.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-01-12 16:26:55 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-01-14 08:50:32 +0700
commite02ac6c1e75a7f39f923233689ba4b391e757355 (patch)
tree3700c03aa2e2376aa7baa30ffd8b009c3d6322d3 /games/wolf4sdl/wolf4sdl.SlackBuild
parent9e2f172367e0162060b59da976abec5fb6aef682 (diff)
games/wolf4sdl: Fix doinst.sh.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/wolf4sdl/wolf4sdl.SlackBuild')
-rw-r--r--games/wolf4sdl/wolf4sdl.SlackBuild14
1 files changed, 12 insertions, 2 deletions
diff --git a/games/wolf4sdl/wolf4sdl.SlackBuild b/games/wolf4sdl/wolf4sdl.SlackBuild
index 6151fe1646a5c..50a0469584bf5 100644
--- a/games/wolf4sdl/wolf4sdl.SlackBuild
+++ b/games/wolf4sdl/wolf4sdl.SlackBuild
@@ -6,13 +6,23 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# TODO: investigate the patches from https://packages.debian.org/sid/wolf4sdl
+# These don't apply cleanly to the original source (which is what
+# we use), but I don't want to use Debian's "dfsg" source because it
+# removes the OPL MIDI emulation for licensing reasons. It'll take some
+# effort: I'll have to port the patches manually, or else re-add the OPL
+# stuff to the Debian source. Also worth looking at:
+# https://github.com/11001011101001011/Wolf4SDL (which apparently adds SDL2
+# support).
+
+# 20230112 bkw: BUILD=3, install doinst.sh to right place (derp).
# 20211015 bkw: BUILD=2, new-style icons.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=wolf4sdl
VERSION=${VERSION:-1.7}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -146,10 +156,10 @@ cp $CWD/*.desktop $PKG/usr/share/applications/
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a Changes.txt README.txt license-*.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-cat $CWD/doinst.sh > $PKG/usr/doc/$PRGNAM-$VERSION/doinst.sh
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE