1 # Maintainer: Devin Cofer <ranguvar@archlinux.us>
3 pkgname=simulationcraft-svn
4 pkgdesc="A tool to simulate, analyze, and graphically display World of Warcraft combat (SVN code)"
7 url="http://code.google.com/p/simulationcraft/"
14 _svntrunk="http://simulationcraft.googlecode.com/svn/branches/cataclysm/"
15 _svnmod="simulationcraft"
19 msg2 "Peforming source checkout"
20 if [ -d "$_svnmod/.svn" ]; then
21 (cd $_svnmod && svn up -r $pkgver)
23 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
25 msg2 "Source checkout completed or connection error"
27 cp -r $_svnmod $_svnmod-build
29 cd $_svnmod-build/engine
33 cd "$srcdir"/$_svnmod-build/engine
35 install -Dm755 simc "$pkgdir"/usr/bin/simc