1 # Maintainer: Dražen Odobašić <dodobasic at gmail>
5 pkgdesc="SAGA -System for Automated Geoscientific Analyses- is a hybrid GIS software"
6 url="http://www.saga-gis.org"
9 depends=('wxgtk>=2.8.10' 'gdal' 'proj' 'libtiff' 'jasper' 'unixodbc')
10 makedepends=('subversion' 'autoconf')
11 conflicts=('saga-gis')
14 _svntrunk=https://saga-gis.svn.sourceforge.net/svnroot/saga-gis/trunk
19 md5sums=('f211cbdb2c9feb3dec254a7755f9f154'
20 '5bce110e080c450de237635c5c651f54')
25 if [ -d $_svnmod/.svn ]; then
26 (cd $_svnmod && svn up -r $pkgver)
28 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
31 msg "SVN checkout done or server timeout"
32 msg "Starting make..."
34 rm -rf "$srcdir/$_svnmod-build"
35 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
36 cd "$srcdir/$_svnmod-build/saga-gis"
40 ./configure --prefix=/usr --enable-unicode
42 make DESTDIR=$startdir/pkg install || return 1
43 install -D -m644 $startdir/saga-gis.png $startdir/pkg/usr/share/pixmaps/saga-gis.png
44 install -D -m644 $startdir/saga-gis.desktop $startdir/pkg/usr/share/applications/saga-gis.desktop