1 # Contributor: Renato Budinich <rennabh at gmail dot com>
5 pkgdesc="supercollider plugin for gedit"
7 url="http://artfwo.googlepages.com/sced"
9 depends=('supercollider-svn' 'gedit' 'python3')
13 install=${pkgname}.install
18 _svntrunk="https://supercollider.svn.sourceforge.net/svnroot/supercollider/trunk/editors/sced "
25 if [ -d $_svnmod/.svn ]; then
26 (cd $_svnmod && svn up)
28 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
29 msg "Connecting to $_svnmod SVN server...."
32 msg "SVN checkout done or server timeout"
36 mkdir -p ${pkgdir}/usr/share/gtksourceview-2.0/language-specs
37 cp data/supercollider.lang ${pkgdir}/usr/share/gtksourceview-2.0/language-specs
39 mkdir -p ${pkgdir}/usr/share/mime/packages
40 cp data/supercollider.xml $startdir/pkg/usr/share/mime/packages
42 mkdir -p ${pkgdir}/usr/lib/gedit-2/plugins
43 cp -r data/sced.gedit-plugin sced/ ${pkgdir}/usr/lib/gedit-2/plugins
48 # vim:set ts=2 sw=2 et: