1 # Maintainer: Gergely Imreh <imrehgATgmailDOTcom>
2 # Contributor: Gergely Imreh <imrehgATgmailDOTcom>
6 pkgdesc="Script to manage checkouts and updates for a set of client modules in various SCM repository locations."
7 url="http://code.google.com/p/gclient/"
10 makedepends=('subversion' 'autoconf')
11 depends=('python2' 'python-pymox')
13 _svntrunk=http://gclient.googlecode.com/svn/trunk/gclient
19 if [ -d $_svnmod/.svn ]; then
20 (cd $_svnmod && svn up -r $pkgver)
22 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
25 msg "SVN checkout done or server timeout"
26 msg "Starting install..."
28 install -D -m755 "${_svnmod}/gclient.py" "${pkgdir}/usr/bin/gclient.py" || return 1
29 ln -s gclient.py ${pkgdir}/usr/bin/gclient || return 1