1 # Contributor: palbo <palbof@gmail.com>
3 pkgname=python-couchdb-svn
6 pkgdesc="Python library for working with CouchDB"
7 url="http://code.google.com/p/couchdb-python/"
10 depends=('python>=2.6' 'httplib2' 'couchdb')
11 makedepends=('subversion')
13 provides=('python-couchdb')
18 _svntrunk=http://couchdb-python.googlecode.com/svn/trunk/
19 _svnmod=python-couchdb
24 if [ -d $_svnmod/.svn ]; then
25 (cd $_svnmod && svn up -r $pkgver)
27 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
30 msg "SVN checkout done or server timeout"
33 python setup.py install --root=$startdir/pkg
35 mkdir -p $startdir/pkg/usr/share/licenses/$pkgname
36 install -D -m644 COPYING $startdir/pkg/usr/share/licenses/$pkgname/LICENSE