mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
games/crispy-doom: Fixed icon locations.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
318011fd3b
commit
546b4c3d5e
2 changed files with 11 additions and 1 deletions
|
@ -24,7 +24,7 @@
|
||||||
|
|
||||||
PRGNAM=crispy-doom
|
PRGNAM=crispy-doom
|
||||||
VERSION=${VERSION:-5.0}
|
VERSION=${VERSION:-5.0}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-2}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
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
|
rm $PKG/usr/man/man6/chocolate-setup.6
|
||||||
mv $PKG/usr/man/man6/chocolate-server.6 $PKG/usr/man/man6/crispy-server.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 {} \;
|
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
|
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
if [ -x /usr/bin/update-desktop-database ]; then
|
if [ -x /usr/bin/update-desktop-database ]; then
|
||||||
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
|
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
||||||
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||||
|
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in a new issue