aboutsummaryrefslogtreecommitdiff
path: root/audio/specimen
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-27 21:12:29 -0400
committerRobby Workman <rworkman@slackbuilds.org>2012-09-29 17:17:38 -0500
commitab7d56bae6e02b6de6f8f180fa4261eee3ec2156 (patch)
tree773965edeea25759d1e304578e72948d6f214cb5 /audio/specimen
parentc64e687180d10127f3ed5e7638d98e228eba639a (diff)
audio/specimen: Fixed (Handle desktop file)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'audio/specimen')
-rw-r--r--audio/specimen/doinst.sh3
-rw-r--r--audio/specimen/specimen.SlackBuild6
2 files changed, 5 insertions, 4 deletions
diff --git a/audio/specimen/doinst.sh b/audio/specimen/doinst.sh
new file mode 100644
index 000000000000..5fb28930db0b
--- /dev/null
+++ b/audio/specimen/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/specimen/specimen.SlackBuild b/audio/specimen/specimen.SlackBuild
index 86bb01d57501..a0d20c65e182 100644
--- a/audio/specimen/specimen.SlackBuild
+++ b/audio/specimen/specimen.SlackBuild
@@ -20,15 +20,13 @@
PRGNAM=specimen
VERSION=${VERSION:-0.5.1}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
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
@@ -83,7 +81,7 @@ cp $CWD/$PRGNAM.desktop $PKG/usr/share/applications/
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}
-