aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 8d6fc9cbe3bc..b9753b6b4ec3 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 000000000000..aa30ae34d7a7
--- /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