summaryrefslogtreecommitdiff
path: root/games/doomretro/doomretro.SlackBuild
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/doomretro.SlackBuild
parentc0c9f984f5eb18fde23b8e49046c33b257cd1d38 (diff)
downloadslackbuilds-a5ed1c87c4fb7926ad2b18d2bc1876df67386220.tar.gz
games/doomretro: Fixed README and icon installation.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/doomretro/doomretro.SlackBuild')
-rw-r--r--games/doomretro/doomretro.SlackBuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/games/doomretro/doomretro.SlackBuild b/games/doomretro/doomretro.SlackBuild
index 1ba5e597b6..81f6e52899 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