1 # Contributor: Adrian Carpenter <adriatic.c@gmail.com>
2 pkgname=beta_pyechonest
5 pkgdesc="beta version 4 of pyechonest for interacting with echonest"
7 url="http://pyechonest.googlecode.com/svn/branches/beta_pyechonest"
9 depends=('python>=2.5' 'python<3.0' 'python-simplejson')
10 conflicts=('pyechonest')
11 makedepends=('subversion')
15 _svntrunk=http://pyechonest.googlecode.com/svn/branches/beta_pyechonest
16 _svnmod=beta_pyechonest
21 if [ -d $_svnmod/.svn ]; then
22 (cd $_svnmod && svn up -r $pkgver)
24 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
27 msg "SVN checkout done or server timeout"
28 msg "Starting make..."
30 rm -rf "$srcdir/$_svnmod-build"
31 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
32 cd "$srcdir/$_svnmod-build"
38 python setup.py install --root=$pkgdir/
40 # vim:set ts=2 sw=2 et: