From f7a63d3ef976ae947d9ff4c4623e73d0b2b204c3 Mon Sep 17 00:00:00 2001 From: dsomero Date: Thu, 27 Sep 2012 20:43:01 -0400 Subject: audio/guitarix: Fixed (Handle desktop file) Signed-off-by: dsomero --- audio/guitarix/doinst.sh | 3 +++ audio/guitarix/guitarix.SlackBuild | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 audio/guitarix/doinst.sh diff --git a/audio/guitarix/doinst.sh b/audio/guitarix/doinst.sh new file mode 100644 index 0000000000..5fb28930db --- /dev/null +++ b/audio/guitarix/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/audio/guitarix/guitarix.SlackBuild b/audio/guitarix/guitarix.SlackBuild index ea9ac94659..1acf99bb83 100644 --- a/audio/guitarix/guitarix.SlackBuild +++ b/audio/guitarix/guitarix.SlackBuild @@ -5,7 +5,7 @@ PRGNAM=guitarix VERSION=${VERSION:-0.11.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -67,6 +67,7 @@ find $PKG/usr/doc -type f -exec chmod 0644 {} \; 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