aboutsummaryrefslogtreecommitdiff
path: root/games/liquidwar6
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-29 17:36:26 -0400
committerRobby Workman <rworkman@slackbuilds.org>2012-09-29 17:17:45 -0500
commit962eba0017363efebb6b59f5dacd57b857e5aedf (patch)
treee503e2236fc6d4fb5b375df25b9fb48e310a0378 /games/liquidwar6
parenteb85baa6f2f91768651577d766ab44319c53bde6 (diff)
games/liquidwar6: Fixed (Handle desktop file)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'games/liquidwar6')
-rw-r--r--games/liquidwar6/doinst.sh4
-rw-r--r--games/liquidwar6/liquidwar6.SlackBuild5
2 files changed, 6 insertions, 3 deletions
diff --git a/games/liquidwar6/doinst.sh b/games/liquidwar6/doinst.sh
new file mode 100644
index 0000000000000..4e8ba7071dea7
--- /dev/null
+++ b/games/liquidwar6/doinst.sh
@@ -0,0 +1,4 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
diff --git a/games/liquidwar6/liquidwar6.SlackBuild b/games/liquidwar6/liquidwar6.SlackBuild
index ea3083750d66a..d682f1afb5102 100644
--- a/games/liquidwar6/liquidwar6.SlackBuild
+++ b/games/liquidwar6/liquidwar6.SlackBuild
@@ -6,17 +6,15 @@
PRGNAM=liquidwar6
VERSION=${VERSION:-0.0.13beta}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
SHORTNAM=${PRGNAM/[0-9]*/}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -91,6 +89,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
# If the extra-maps source is found, install it
# (do this last so we can edit the slack-desc in place)