games/eduke32_hires_pack: Use latest music pack.

This commit is contained in:
B. Watson 2016-11-10 22:40:57 -05:00 committed by David Spencer
parent c251aeeab2
commit d2daa8d321
2 changed files with 6 additions and 5 deletions

View file

@ -13,7 +13,7 @@ Optionally, this package can include the EDuke32 Music Pack, which
provides better-sounding music than the default MIDI soundtrack. To
include the music pack, download the file from:
http://www.duke4.org/files/nightfright/eduke32_mus.zip
http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip
...and save it in the same directory as the SlackBuild.

View file

@ -38,12 +38,13 @@ mkdir -p $PKG/usr/share/games/eduke32
mv autoload $PKG/usr/share/games/eduke32/autoload
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
# If they have the music pack, include that too
if [ -r $CWD/eduke32_mus.zip ]; then
unzip $CWD/eduke32_mus.zip music_readme.txt
if [ -r $CWD/duke3d_music-sc55.zip ]; then
unzip -j $CWD/duke3d_music-sc55.zip readme/music_readme.txt
cat music_readme.txt > $PKG/usr/doc/$PRGNAM-$VERSION/music_readme.txt
cat $CWD/eduke32_mus.zip > \
$PKG/usr/share/games/eduke32/autoload/duke3d.grp/eduke32_mus.zip
cat $CWD/duke3d_music-sc55.zip > \
$PKG/usr/share/games/eduke32/autoload/duke3d.grp/duke3d_music-sc55.zip
fi
cp *.txt $PKG/usr/doc/$PRGNAM-$VERSION