aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-27 20:43:01 -0400
committerRobby Workman <rworkman@slackbuilds.org>2012-09-29 17:17:37 -0500
commitf7a63d3ef976ae947d9ff4c4623e73d0b2b204c3 (patch)
tree79f65d52eab3a140d1cd892c3cf0b06f81841706 /audio
parentdce8eaaa6595eafb7f175575709966e3f2516ab4 (diff)
audio/guitarix: Fixed (Handle desktop file)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'audio')
-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}