updated on Tue Jan 17 12:00:36 UTC 2012
[aur-mirror.git] / supercollider-ddwpatterns / PKGBUILD
blobb16723ae87f2ab67a6e2de9f639ca6a2e13b0da8
1 # Maintainer: Bernardo Barros <bernardobarros@NOSPAM.gmail.com>
3 pkgname=supercollider-ddwpatterns
4 pkgdesc="SuperCollider quark: Various new pattern classes and enhancements. Author: James Harkins."
5 _quark="ddwPatterns"
6 _path=dewdrop_lib/ddwPatterns
7 depends=('supercollider')
9 pkgver=1890
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}"