From 8a939052c7c73c5a90d4c981ce6c2b42d5bebc82 Mon Sep 17 00:00:00 2001 From: dsomero Date: Sat, 29 Sep 2012 21:50:14 -0400 Subject: multimedia/tabu_audio_player: Fixed (Handle desktop file) Signed-off-by: dsomero --- multimedia/tabu_audio_player/doinst.sh | 3 +++ multimedia/tabu_audio_player/tabu_audio_player.SlackBuild | 5 ++--- 2 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 multimedia/tabu_audio_player/doinst.sh (limited to 'multimedia/tabu_audio_player') diff --git a/multimedia/tabu_audio_player/doinst.sh b/multimedia/tabu_audio_player/doinst.sh new file mode 100644 index 0000000000000..5fb28930db0b9 --- /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 16ff12990f4e3..112f2fdef9589 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} -- cgit v1.2.3