aboutsummaryrefslogtreecommitdiff
path: root/audio/guitarix
diff options
context:
space:
mode:
Diffstat (limited to 'audio/guitarix')
-rw-r--r--audio/guitarix/doinst.sh3
-rw-r--r--audio/guitarix/guitarix.SlackBuild3
2 files changed, 5 insertions, 1 deletions
diff --git a/audio/guitarix/doinst.sh b/audio/guitarix/doinst.sh
new file mode 100644
index 0000000000000..5fb28930db0b9
--- /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 ea9ac9465925d..1acf99bb83031 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}