summaryrefslogtreecommitdiff
path: root/games/chocolate-doom
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2012-12-28 23:38:11 +0100
committerMatteo Bernardini <ponce@slackbuilds.org>2012-12-28 23:38:31 +0100
commit28945ff69a41a84d13d4dc0b45953085a65d909e (patch)
tree958d8f2ed0a4081c1f2d8e95c9c7f076d083b9ad /games/chocolate-doom
parent53d184f96f07a66e9050f418b70bb80bc1fe0d47 (diff)
downloadslackbuilds-28945ff69a41a84d13d4dc0b45953085a65d909e.tar.gz
games/chocolate-doom: Fixed md5sum, added license.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/chocolate-doom')
-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
+