updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / supercollider-ddwprototype / PKGBUILD
blob4a7e1a8180f04cd6794748d809541090fdd1b9d0
1 # Maintainer: Bernardo Barros <bernardobarros@NOSPAM.gmail.com>
3 pkgname=supercollider-ddwprototype
4 pkgdesc="SuperCollider quark: Support for prototype-based programming. Author: James Harkins."
5 _quark="ddwPrototype"
6 _path=dewdrop_lib/ddwPrototype
7 depends=('supercollider')
9 pkgver=996
10 pkgrel=1
11 arch=('any')
12 url="http://quarks.sourceforge.net/"
13 license=('GPL3')
14 groups=('supercollider-quarks')
15 makedepends=('subversion')
17 _svntrunk="https://quarks.svn.sourceforge.net/svnroot/quarks/${_path}"
18 _svnmod="${_quark}"
20 build() {
21   cd "$srcdir"
23   if [ -d $_svnmod/.svn ]; then
24     (cd $_svnmod && svn up -r $pkgver)
25   else
26     svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
27   fi
29   msg "SVN checkout done or server timeout"
32 package() {
33   cd "${srcdir}/${_quark}"
34   mkdir -p "${pkgdir}/usr/share/SuperCollider/Extentions/${_quark}"
35   cp -r $srcdir/${_quark}/*  "${pkgdir}/usr/share/SuperCollider/Extentions/${_quark}"