updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / supercollider-wslib / PKGBUILD
blob81edb92a40e624252c99ab671c96a3e97681757c
1 # Maintainer: Bernardo Barros <bernardobarros@NOSPAM.gmail.com>
3 pkgname=supercollider-wslib
4 pkgdesc="SuperCollider quark: various language additions, GUI classes and more
5 Main features: SimpleMIDIFile, SVG, RoundButton, SmoothSlider, AutoBackup Author: Wouter Snoei."
6 _quark="wslib"
7 _path=wslib
8 depends=('supercollider' 'supercollider-xml')
10 pkgver=1984
11 pkgrel=1
12 arch=('any')
13 url="http://quarks.sourceforge.net/"
14 license=('GPL3')
15 groups=('supercollider-quarks')
16 makedepends=('subversion')
18 _svntrunk="https://quarks.svn.sourceforge.net/svnroot/quarks/${_path}"
19 _svnmod="${_quark}"
21 build() {
22   cd "$srcdir"
24   if [ -d $_svnmod/.svn ]; then
25     (cd $_svnmod && svn up -r $pkgver)
26   else
27     svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
28   fi
30   msg "SVN checkout done or server timeout"
33 package() {
34   cd "${srcdir}/${_quark}"
35   mkdir -p "${pkgdir}/usr/share/SuperCollider/Extentions/${_quark}"
36   cp -r $srcdir/${_quark}/*  "${pkgdir}/usr/share/SuperCollider/Extentions/${_quark}"