1 # Contributor: Stefan Husmann <stefan-husmann@t-online.de>
5 pkgdesc="A unit testing framework for C - svn version"
7 url="http://check.sourceforge.net/"
10 makedepends=('subversion')
14 install=$pkgname.install
18 _svntrunk=https://check.svn.sourceforge.net/svnroot/check
24 if [ -d $_svnmod/.svn ]; then
25 (cd $_svnmod && svn up -r $pkgver)
27 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
30 msg "SVN checkout done or server timeout"
31 msg "Starting make..."
33 [ -d $srcdir/${_svnmod}-build ] && rm -rf "$srcdir/$_svnmod-build"
34 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
35 cd "$srcdir/$_svnmod-build/trunk"
41 ./configure --prefix=/usr
43 make DESTDIR="$pkgdir/" install