summaryrefslogtreecommitdiffstats
path: root/games/crispy-doom/crispy-doom.SlackBuild
diff options
context:
space:
mode:
author Dugan Chen <thedoogster [at] gmail [dot] com>2017-12-09 21:40:30 +0000
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2017-12-16 07:32:01 +0700
commit546b4c3d5e5754df7de6df502eec132366b8ba0a (patch)
tree3874ae87dd65241c632da80d61dce6d743908567 /games/crispy-doom/crispy-doom.SlackBuild
parent318011fd3b2b49e2bbd0c717fb90d2d6dbd10b4e (diff)
downloadslackbuilds-546b4c3d5e5754df7de6df502eec132366b8ba0a.tar.gz
slackbuilds-546b4c3d5e5754df7de6df502eec132366b8ba0a.tar.xz
games/crispy-doom: Fixed icon locations.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games/crispy-doom/crispy-doom.SlackBuild')
-rw-r--r--games/crispy-doom/crispy-doom.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/games/crispy-doom/crispy-doom.SlackBuild b/games/crispy-doom/crispy-doom.SlackBuild
index fde31ee9c7..646df7682e 100644
--- a/games/crispy-doom/crispy-doom.SlackBuild
+++ b/games/crispy-doom/crispy-doom.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=crispy-doom
VERSION=${VERSION:-5.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -93,6 +93,10 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
rm $PKG/usr/man/man6/chocolate-setup.6
mv $PKG/usr/man/man6/chocolate-server.6 $PKG/usr/man/man6/crispy-server.6
+# Fix icon locations
+mkdir -p $PKG/usr/share/icons/hicolor/128x128
+mv $PKG/usr/share/icons/{crispy-doom.png,crispy-setup.png} $PKG/usr/share/icons/hicolor/128x128
+
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done