1 # Maintainer: Jonathan Wiersma <archaur at jonw dot org>
6 pkgdesc="Python module for controlling compiz through DBus"
7 url="http://code.google.com/p/pycompiz"
10 #if [ ! -z `pacman -Qqs "^compiz-git$"` ]; then
11 # depends=('compiz-git' 'dbus-python')
13 depends=('compiz-core' 'dbus-python')
15 makedepends=('subversion')
16 conflicts=('pycompiz')
22 _svntrunk=http://pycompiz.googlecode.com/svn/trunk
23 _svnmod=pycompiz-read-only
26 cd $srcdir || return 1
28 if [ -d $_svnmod/.svn ]; then
29 (cd $_svnmod && svn up -r $pkgver) || return 1
31 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
34 msg "SVN checkout done or server timeout"
35 msg "Starting make..."
38 cp -r $_svnmod $_svnmod-build || return 1
39 cd $_svnmod-build/pyCompiz || return 1
41 python setup.py install --root=${pkgdir} || return 1
43 rm -rf $srcdir/$_svnmod-build || return 1