1 # Contributor: Eric Forgeot < http://anamnese.online.fr >
6 pkgdesc="A framework for a Thrust clone"
8 url="http://code.google.com/p/klystron/"
13 _svntrunk='http://klystron.googlecode.com/svn/trunk/'
14 _svnmod='klystron-read-only'
22 if [ -d "${_svnmod}/.svn" ]; then
23 (cd "$_svnmod" && svn up -r $pkgver)
25 svn co "$_svntrunk" --config-dir ./ -r $pkgver $_svnmod
28 msg 'SVN checkout done or server timeout'
29 msg 'Starting make...'
31 rm -rf "${_svnmod}-build"
32 cp -r "$_svnmod" "${_svnmod}-build"
38 mkdir -p $startdir/pkg/usr/share/klystron
43 cp -fr $startdir/${_svnmod}-build/bin.debug/ $startdir/pkg/usr/share/klystron
44 cp -fr $startdir/${_svnmod}-build/src/ $startdir/pkg/usr/share/klystron
45 cp -fr $startdir/${_svnmod}-build/tools/ $startdir/pkg/usr/share/klystron
46 cp -fr $startdir/${_svnmod}-build/deps/ $startdir/pkg/usr/share/klystron
47 cp -fr $startdir/${_svnmod}-build/Makefile $startdir/pkg/usr/share/klystron