Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Contributor: totoloco <totoloco at ushcompu dot com dot ar>
- # Maintainer: totoloco <totoloco at ushcompu dot com dot ar>
- pkgname=googlecl-svn
- pkgver=301
- pkgrel=1
- pkgdesc="Command line tools for the Google Data APIs"
- arch=('any')
- url="http://code.google.com/p/googlecl/"
- license=('APACHE')
- depends=('python-gdata')
- makedepends=('subversion')
- provides=('googlecl')
- conflicts=('googlecl')
- replaces=('googlecl')
- _svntrunk=http://googlecl.googlecode.com/svn/trunk/
- _svnmod=googlecl
- build() {
- cd "$srcdir"
- if [ -d $_svnmod/.svn ]; then
- (cd $_svnmod && svn up -r $pkgver)
- else
- svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
- fi
- msg "SVN checkout done or server timeout"
- msg "Starting make..."
- rm -rf "$srcdir/$_svnmod-build"
- cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
- cd "$srcdir/$_svnmod-build"
- python2 setup.py install --prefix=/usr --root=$pkgdir
- }
- # vim:set ts=2 sw=2 et:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement