Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

googlecl-svn-python2

By: a guest on Dec 22nd, 2010  |  syntax: None  |  size: 0.94 KB  |  hits: 56  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Contributor: totoloco <totoloco at ushcompu dot com dot ar>
  2. # Maintainer: totoloco <totoloco at ushcompu dot com dot ar>
  3.  
  4. pkgname=googlecl-svn
  5. pkgver=301
  6. pkgrel=1
  7. pkgdesc="Command line tools for the Google Data APIs"
  8. arch=('any')
  9. url="http://code.google.com/p/googlecl/"
  10. license=('APACHE')
  11. depends=('python-gdata')
  12. makedepends=('subversion')
  13.  
  14. provides=('googlecl')
  15. conflicts=('googlecl')
  16. replaces=('googlecl')
  17.  
  18. _svntrunk=http://googlecl.googlecode.com/svn/trunk/
  19. _svnmod=googlecl
  20.  
  21. build() {
  22.   cd "$srcdir"
  23.  
  24.   if [ -d $_svnmod/.svn ]; then
  25.     (cd $_svnmod && svn up -r $pkgver)
  26.   else
  27.     svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
  28.   fi
  29.  
  30.   msg "SVN checkout done or server timeout"
  31.   msg "Starting make..."
  32.  
  33.   rm -rf "$srcdir/$_svnmod-build"
  34.   cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
  35.   cd "$srcdir/$_svnmod-build"
  36.  
  37.   python2 setup.py install --prefix=/usr --root=$pkgdir
  38. }
  39.  
  40. # vim:set ts=2 sw=2 et: