From 962eba0017363efebb6b59f5dacd57b857e5aedf Mon Sep 17 00:00:00 2001 From: dsomero Date: Sat, 29 Sep 2012 17:36:26 -0400 Subject: games/liquidwar6: Fixed (Handle desktop file) Signed-off-by: dsomero --- games/liquidwar6/doinst.sh | 4 ++++ games/liquidwar6/liquidwar6.SlackBuild | 5 ++--- 2 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 games/liquidwar6/doinst.sh (limited to 'games/liquidwar6') diff --git a/games/liquidwar6/doinst.sh b/games/liquidwar6/doinst.sh new file mode 100644 index 0000000000..4e8ba7071d --- /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 ea3083750d..d682f1afb5 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) -- cgit v1.2.3-65-gdbad