games/doomretro: Fixed README and icon installation.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Dugan Chen 2016-10-13 06:58:20 +07:00 committed by Willy Sudiarto Raharjo
parent c0c9f984f5
commit a5ed1c87c4
2 changed files with 10 additions and 7 deletions

View file

@ -6,15 +6,15 @@ deliberately minimalist by design, and does a few things differently when
compared with other source ports.
For MIDI playback, first build and install FluidSynth, then build and install
SDL_mixer (so that it has FluidSynth support), and then build and install DOOM
SDL2_mixer (so that it has FluidSynth support), and then build and install DOOM
Retro. Then, before starting DOOM Retro, set the SDL_SOUNDFONTS environment
variable to the path to a soundfont in sf2 format.
variable to the path to a soundfont in sf2 format:
i.e.
export SDL_SOUNDFONTS=/path/to/soundfonts.sf2
Settings are stored in $HOME/.config/doomretro. You will find an editable
doomretro.cfg there.
Settings are stored in $HOME/.config/doomretro. After starting Doom Retro for
the first time, you will find an editable doomretro.cfg there.
There is a bonus episode, "breach", in /usr/share/doomretro/breach.

View file

@ -24,7 +24,7 @@
PRGNAM=doomretro
VERSION=${VERSION:-2.3.1}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -85,8 +85,11 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/usr/share/applications
cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
mkdir -p $PKG/usr/share/pixmaps
convert res/$PRGNAM.ico[1] $PKG/usr/share/pixmaps/$PRGNAM.png
mkdir -p $PKG/usr/share/icons/hicolor/{16x16,256x256,32x32,48x48}/apps
convert res/$PRGNAM.ico[0] $PKG/usr/share/icons/hicolor/16x16/apps/$PRGNAM.png
convert res/$PRGNAM.ico[1] $PKG/usr/share/icons/hicolor/256x256/apps/$PRGNAM.png
convert res/$PRGNAM.ico[2] $PKG/usr/share/icons/hicolor/32x32/apps/$PRGNAM.png
convert res/$PRGNAM.ico[3] $PKG/usr/share/icons/hicolor/48x48/apps/$PRGNAM.png
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION