1 # Contributor: Anton Leontiev <bunder[at]t-25.ru>
5 pkgdesc="C/C++ documentation tool"
7 url="http://savannah.nongnu.org/projects/mkdoc/"
11 makedepends=('subversion')
12 source=(Makefile.patch)
13 md5sums=('2e862d1eaf0efc01041b779479a0019f')
15 _svntrunk=svn://svn.savannah.nongnu.org/mkdoc/trunk
21 if [ -d $_svnmod/.svn ]; then
22 (cd $_svnmod && svn up -r $pkgver)
24 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
27 msg "SVN checkout done or server timeout"
28 msg "Starting make..."
30 rm -rf "$srcdir/$_svnmod-build"
31 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
32 cd "$srcdir/$_svnmod-build"
34 patch -i "$srcdir/Makefile.patch"
38 cd "$srcdir/$_svnmod-build"
39 make PREFIX="$pkgdir/usr" install
40 export PATH=$PATH:$pkgdir/usr/share/mkdoc
41 make PREFIX="$pkgdir/usr" install-doc