From 9ae9ec421e0c03201c382803dfbaa73fef0dcfed Mon Sep 17 00:00:00 2001 From: dsomero Date: Thu, 27 Sep 2012 20:11:52 -0400 Subject: audio/SuperCollider: Fixed (Handle mime files) Signed-off-by: dsomero --- audio/SuperCollider/SuperCollider.SlackBuild | 3 ++- audio/SuperCollider/doinst.sh | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 audio/SuperCollider/doinst.sh (limited to 'audio/SuperCollider') 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 -- cgit v1.2.3