summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/chocolate-doom/chocolate-doom.SlackBuild4
-rw-r--r--games/chocolate-doom/chocolate-doom.info4
-rw-r--r--games/chocolate-doom/doinst.sh7
3 files changed, 12 insertions, 3 deletions
diff --git a/games/chocolate-doom/chocolate-doom.SlackBuild b/games/chocolate-doom/chocolate-doom.SlackBuild
index 3d2aad4792..412a23eb17 100644
--- a/games/chocolate-doom/chocolate-doom.SlackBuild
+++ b/games/chocolate-doom/chocolate-doom.SlackBuild
@@ -4,9 +4,11 @@
# Written by B. Watson (yalhcru@gmail.com)
+# Licensed under the WTFPL. See http://sam.zoy.org/wtfpl/ for details.
+
PRGNAM=chocolate-doom
VERSION=${VERSION:-1.7.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
diff --git a/games/chocolate-doom/chocolate-doom.info b/games/chocolate-doom/chocolate-doom.info
index e0b809c37f..08305be35a 100644
--- a/games/chocolate-doom/chocolate-doom.info
+++ b/games/chocolate-doom/chocolate-doom.info
@@ -1,8 +1,8 @@
PRGNAM="chocolate-doom"
VERSION="1.7.0"
HOMEPAGE="http://www.chocolate-doom.org/"
-DOWNLOAD="http://downloads.sourceforge.net/project/chocolate-doom/chocolate-doom/1.7.0/chocolate-doom-1.7.0.tar.gz"
-MD5SUM="dbd4cef1c6810dd00089f1be5a21ffda"
+DOWNLOAD="http://downloads.sourceforge.net/chocolate-doom/chocolate-doom-1.7.0.tar.gz"
+MD5SUM="c0a8b240e5c1db9fc1d4772ed6669fda"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/games/chocolate-doom/doinst.sh b/games/chocolate-doom/doinst.sh
index 696d35bad7..bd8f3bab51 100644
--- a/games/chocolate-doom/doinst.sh
+++ b/games/chocolate-doom/doinst.sh
@@ -2,3 +2,10 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
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 usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
+