updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / sced-svn / PKGBUILD
bloba47ef42cd7f37725516ec0f4b040f8b3590a78ff
1 # Contributor: Renato Budinich <rennabh at gmail dot com>
2 pkgname=sced-svn
3 pkgver=9335
4 pkgrel=1
5 pkgdesc="supercollider plugin for gedit"
6 arch=('i686')
7 url="http://artfwo.googlepages.com/sced"
8 license=('GPL3')
9 depends=('supercollider-svn' 'gedit' 'python3')
10 makedepends=('svn')
11 provides=('sced')
12 options=()
13 install=${pkgname}.install
14 source=()
15 md5sums=() 
17 _svnmod="sced"
18 _svntrunk="https://supercollider.svn.sourceforge.net/svnroot/supercollider/trunk/editors/sced "
22 build() {
23   cd $startdir/src
25   if [ -d $_svnmod/.svn ]; then
26     (cd $_svnmod && svn up)
27   else
28     svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
29     msg "Connecting to $_svnmod SVN server...."
30   fi
32   msg "SVN checkout done or server timeout"
34   cd $_svnmod
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: