updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / supercollider-processtools / PKGBUILD
blob8a30df07ac855d0de10eba7ff76f6c8ada4323ed
1 # Maintainer: Bernardo Barros <bernardobarros@NOSPAM.gmail.com>
3 pkgname=supercollider-processtools
4 pkgdesc="SuperCollider quark: A collection of tools to interact with unix/linux processes, such as finding their PID or monitoring them and waiting until they complete. Author: Dan Stowell. Feel free to contribute to this thematic library."
5 _quark="ProcessTools"
6 _path=ProcessTools
7 depends=('supercollider')
9 pkgver=1532
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}"