summaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
author dsomero <xgizzmo@slackbuilds.org>2012-09-29 21:50:14 -0400
committer Robby Workman <rworkman@slackbuilds.org>2012-09-30 20:01:05 -0500
commit8a939052c7c73c5a90d4c981ce6c2b42d5bebc82 (patch)
tree2fc6c769717a469625abd450d5021200975906ce /multimedia
parenteff6eefd3fcac99981b669fb6c77ba0b1d66d5d1 (diff)
downloadslackbuilds-8a939052c7c73c5a90d4c981ce6c2b42d5bebc82.tar.gz
slackbuilds-8a939052c7c73c5a90d4c981ce6c2b42d5bebc82.tar.xz
multimedia/tabu_audio_player: Fixed (Handle desktop file)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/tabu_audio_player/doinst.sh3
-rw-r--r--multimedia/tabu_audio_player/tabu_audio_player.SlackBuild5
2 files changed, 5 insertions, 3 deletions
diff --git a/multimedia/tabu_audio_player/doinst.sh b/multimedia/tabu_audio_player/doinst.sh
new file mode 100644
index 0000000000..5fb28930db
--- /dev/null
+++ b/multimedia/tabu_audio_player/doinst.sh
@@ -0,0 +1,3 @@
+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/multimedia/tabu_audio_player/tabu_audio_player.SlackBuild b/multimedia/tabu_audio_player/tabu_audio_player.SlackBuild
index 16ff12990f..112f2fdef9 100644
--- a/multimedia/tabu_audio_player/tabu_audio_player.SlackBuild
+++ b/multimedia/tabu_audio_player/tabu_audio_player.SlackBuild
@@ -26,15 +26,13 @@
PRGNAM=tabu_audio_player
VERSION=2.0
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
-# 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
@@ -93,6 +91,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
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}