diff options
Diffstat (limited to 'audio/eawpats/eawpats.SlackBuild')
-rw-r--r-- | audio/eawpats/eawpats.SlackBuild | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/audio/eawpats/eawpats.SlackBuild b/audio/eawpats/eawpats.SlackBuild index 3fcc8735a0aca..295d67e7b6dce 100644 --- a/audio/eawpats/eawpats.SlackBuild +++ b/audio/eawpats/eawpats.SlackBuild @@ -11,6 +11,12 @@ # This is the original author's site, but it's more polite to download # from the gentoo mirror (see .info file) +# 20230111 bkw: BUILD=4, symlink eawpats.cfg to /etc/timidity.cfg (the +# "old" location), since SDL 1.2's SDL_mixer still uses it. Makes the +# music work in odamex (and probably various other games). Also add +# a douninst.sh that will remove the symlinks if they still point +# to eawpats.cfg. + # 20191201 bkw: symlink eawpats.cfg to timidity.cfg in doinst.sh, # if there's no timidity.cfg already. This makes things Just Work(tm). @@ -29,7 +35,7 @@ PRGNAM=eawpats VERSION=${VERSION:-12} SRCVER=${VERSION}_full ARCH=noarch -BUILD=${BUILD:-3} +BUILD=${BUILD:-4} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -77,6 +83,7 @@ mv * $PKG/usr/share/sounds/$PRGNAM mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh +cat $CWD/douninst.sh > $PKG/install/douninst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE |