1 # Contributor: Abakus <java5@arcor.de>
6 pkgdesc="a framework for building document analysis applications"
8 url="http://gamera.informatik.hsnr.de/"
10 depends=('python' 'wxpython' 'libtiff' 'libpng')
11 makedepends=('svn' 'gcc')
15 _svntrunk="https://gamera.svn.sourceforge.net/svnroot/gamera/trunk/gamera"
20 msg "Connecting to SVN server...."
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..."
31 python setup.py install --root=$pkgdir/ --optimize=1 || return 1
33 # Remember to install licenses if the license is not a common license!
34 # install -D -m644 $srcdir/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE