1 # Contributor: Tocer Deng <tocer.deng@gmail.com>
2 #Contributor: Tom Tryfonidis <tomtryf at gmail dot com>
3 pkgname=google-docs-fs-svn
7 pkgdesc="allow you to connect to Google Docs and treat it as a file system"
9 url="http://code.google.com/p/google-docs-fs/"
11 depends=('python>=2.5' 'python-fuse>=0.2' 'python-gdata>=1.3')
12 makedepends=('subversion')
13 conflicts=('google-docs-fs')
14 _svntrunk=http://google-docs-fs.googlecode.com/svn/trunk/
15 _svnmod=google-docs-fs
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"
34 python2 setup.py install --root=$pkgdir --optimize=1 || return 1
38 # vim:set ts=2 sw=2 et: