1 # Contributor: MutantMonkey <mutantmonkey@gmail.com>
5 pkgdesc="A Geographic Information System (GIS) that supports vector, raster & database formats; dev version"
9 depends=('jasper' 'curl' 'qt' 'gsl' 'grass' 'python2' 'python2-qt' 'giflib' 'xerces-c')
10 makedepends=('subversion' 'postgis>=1.4' 'netcdf' 'cmake')
13 options=('!makeflags')
15 md5sums=('8ab66039f2aba519b92f52272ec3c13e')
16 sha256sums=('1d487c6d4ce207593e687c6f6873b4463b1f5bda2a3edb1383735f9f3e27ff20')
18 _svntrunk=https://svn.osgeo.org/qgis/trunk/qgis
24 if [ -d $_svnmod/.svn ]; then
25 (cd $_svnmod && svn up -r $pkgver)
27 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
30 msg "SVN checkout done or server timeout"
31 msg "Starting make..."
33 rm -rf "$srcdir/$_svnmod-build"
34 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
35 cd "$srcdir/$_svnmod-build"
38 -DCMAKE_BUILD_TYPE=Release \
39 -DCMAKE_SKIP_RPATH=ON \
40 -DCMAKE_INSTALL_PREFIX=/usr \
41 -DGRASS_PREFIX=/opt/grass \
42 -DQGIS_MANUAL_SUBDIR=share/man
46 make install DESTDIR=${pkgdir}
48 # install some freedesktop.org compatibility
49 install -D -m644 ${srcdir}/qgis.desktop \
50 ${pkgdir}/usr/share/applications/qgis.desktop