1 pkgname=google-sparsehash-svn
4 pkgdesc="Google's efficient hashmap and hashset implementations for C++ (svn)."
6 url="http://code.google.com/p/google-sparsehash/"
8 makedepends=('subversion')
9 conflicts=('google-sparsehash')
13 _svntrunk="http://google-sparsehash.googlecode.com/svn/trunk/"
14 _svnmod="google-sparsehash-svn"
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 make..."
28 rm -rf $srcdir/$_svnmod-build
29 cp -r $srcdir/$_svnmod $srcdir/$_svnmod-build
30 cd $srcdir/$_svnmod-build
32 ./configure --prefix=/usr || return 1
34 make DESTDIR=$pkgdir install || return 1