aboutsummaryrefslogtreecommitdiff
path: root/games/doomretro
diff options
context:
space:
mode:
authorDugan Chen <thedoogster [at] gmail [dot] com>2016-10-13 06:58:20 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-10-13 06:58:20 +0700
commita5ed1c87c4fb7926ad2b18d2bc1876df67386220 (patch)
tree750d01af0a281b73691c5fae75213eb94e2d6180 /games/doomretro
parentc0c9f984f5eb18fde23b8e49046c33b257cd1d38 (diff)
games/doomretro: Fixed README and icon installation.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/doomretro')
-rw-r--r--games/doomretro/README8
-rw-r--r--games/doomretro/doomretro.SlackBuild9
2 files changed, 10 insertions, 7 deletions
diff --git a/games/doomretro/README b/games/doomretro/README
index 04d2a756e7a55..d97713155888c 100644
--- a/games/doomretro/README
+++ b/games/doomretro/README
@@ -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.
diff --git a/games/doomretro/doomretro.SlackBuild b/games/doomretro/doomretro.SlackBuild
index 1ba5e597b6844..81f6e52899a0c 100644
--- a/games/doomretro/doomretro.SlackBuild
+++ b/games/doomretro/doomretro.SlackBuild
@@ -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