summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-27 20:11:52 -0400
committerRobby Workman <rworkman@slackbuilds.org>2012-09-29 17:17:36 -0500
commit9ae9ec421e0c03201c382803dfbaa73fef0dcfed (patch)
treeb59e13bfff952d757b9c1727ac38439234d998b4 /audio
parent731249d0d81c0fbd82331d0c939c0c2155e871f5 (diff)
downloadslackbuilds-9ae9ec421e0c03201c382803dfbaa73fef0dcfed.tar.gz
audio/SuperCollider: Fixed (Handle mime files)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'audio')
-rw-r--r--audio/SuperCollider/SuperCollider.SlackBuild3
-rw-r--r--audio/SuperCollider/doinst.sh3
2 files changed, 5 insertions, 1 deletions
diff --git a/audio/SuperCollider/SuperCollider.SlackBuild b/audio/SuperCollider/SuperCollider.SlackBuild
index 8d6fc9cbe3..b9753b6b4e 100644
--- a/audio/SuperCollider/SuperCollider.SlackBuild
+++ b/audio/SuperCollider/SuperCollider.SlackBuild
@@ -9,7 +9,7 @@ PRGNAM=SuperCollider
VERSION=${VERSION:-3.5.5}
PRGNAM2=SwingOSC
VERSION2=${VERSION2:-0.70}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -117,6 +117,7 @@ if [ "${CAPS:-yes}" = "yes" ]; then
echo "setcap cap_ipc_lock,cap_sys_nice=ep /usr/bin/scvim" >> $PKG/install/doinst.sh
fi
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}
diff --git a/audio/SuperCollider/doinst.sh b/audio/SuperCollider/doinst.sh
new file mode 100644
index 0000000000..aa30ae34d7
--- /dev/null
+++ b/audio/SuperCollider/doinst.sh
@@ -0,0 +1,3 @@
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+fi