diff options
Diffstat (limited to 'games/liquidwar6')
-rw-r--r-- | games/liquidwar6/doinst.sh | 4 | ||||
-rw-r--r-- | games/liquidwar6/liquidwar6.SlackBuild | 5 |
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) |