1 # Maintainer: Dominik Fuchs <dominik.fuchs@wur.nl>
2 # Contributor: Marcelo Avalos Tejeda <marcelo.avalos@gmail.com>
6 pkgdesc="SAGA -System for Automated Geoscientific Analyses- is a hybrid GIS software"
7 url="http://www.saga-gis.org"
10 depends=('wxgtk>=2.8.3' 'gdal>=1.7' 'libproj4' 'libtiff' 'libjpeg' 'freetype2>=2.3')
11 source=(http://downloads.sourceforge.net/project/saga-gis/SAGA%20-%202.0/SAGA%202.0.4/saga_2.0.4_src_linux.tar.gz
14 md5sums=('2f91cd0eb0c807de6e6e1f706d4b10ce'
15 'f211cbdb2c9feb3dec254a7755f9f154'
16 '5bce110e080c450de237635c5c651f54')
19 mkdir -p $startdir/pkg/usr/share/applications $startdir/pkg/usr/share/pixmaps $startdir/pkg/usr/local/lib
20 cd $startdir/src/saga-2.0
21 ./configure --enable-unicode --prefix=/usr
23 make DESTDIR=$startdir/pkg install || return 1
24 install -D -m644 $startdir/saga-gis.png $startdir/pkg/usr/share/pixmaps/saga-gis.png
25 install -D -m644 $startdir/saga-gis.desktop $startdir/pkg/usr/share/applications/saga-gis.desktop