4 pkgdesc="Gosmore is a routing and viewer of OSM XML data (SVN Version)"
6 url="http://wiki.openstreetmap.org/wiki/Gosmore"
8 depends=('gtk' 'libxml2' 'curl')
9 makedepends=('subversion')
14 _svntrunk="http://svn.openstreetmap.org/applications/rendering/gosmore/"
21 msg "Connecting to $_svntrunk ..."
22 if [ -d $_svnmod/.svn ]; then
23 (cd $_svnmod && svn up) || return 1
25 svn co $_svntrunk $_svnmod || return 1
27 msg "SVN checkout done or server timeout"
29 rm -rf $startdir/build
31 mkdir -p $startdir/build
32 cp -r $startdir/src/* $startdir/build/
34 cd $startdir/build/$_svnmod
40 make DESTDIR=$startdir/pkg PREFIX=/ install || return 1
42 # install -D -m 755 $startdir/src/$_svnmod/src/icons/orig.backGlobe128x128.png $startdir/pkg/usr/share/pixmaps/qlandkartegt.png
43 # install -D -m 755 $startdir/qlandkartegt.desktop $startdir/pkg/usr/share/applications/qlandkartegt.desktop
44 # install -D -m 755 $startdir/qlandkartegt.menu $startdir/pkg/usr/share/menu/qlandkartegt.menu