audio/SuperCollider: Fixed (Handle mime files)

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
dsomero 2012-09-27 20:11:52 -04:00 committed by Robby Workman
parent 731249d0d8
commit 9ae9ec421e
2 changed files with 5 additions and 1 deletions

View file

@ -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}

View file

@ -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