1 # Maintainer: Alexander Drozdov <adrozdoff@gmail.com>
5 pkgdesc="GeoTIFF to JNX (Garmin BirdsEye) format converter"
7 url="https://qlandkartegt.svn.sourceforge.net/svnroot/qlandkartegt/map2jnx/trunk/"
9 groups=('qlandkartegt')
10 depends=(gdal proj libjpeg)
11 makedepends=('subversion')
16 _svntrunk=https://qlandkartegt.svn.sourceforge.net/svnroot/qlandkartegt/map2jnx/trunk
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 "$srcdir/$_svnmod-build"
32 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
33 cd "$srcdir/$_svnmod-build"
38 cmake -DCMAKE_INSTALL_PREFIX=/usr .
43 cd "$srcdir/$_svnmod-build"
44 make DESTDIR="$pkgdir/" install