1 # $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
2 # Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
7 pkgdesc="Interactive Geographic Data Viewer with support for vector & raster data."
9 url="http://thuban.intevation.org/"
11 depends=('gdal' 'python-pysqlite-legacy' 'wxpython' 'wxgtk')
12 makedepends=('proj' 'subversion')
15 source=(thuban.desktop)
16 md5sums=('25b3d0a5a997c4f102bc9bed3853cdda')
18 _svntrunk=https://scm.wald.intevation.org/svn/thuban/trunk
23 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
25 cp -r $_svnmod $_svnmod-build
26 cd $_svnmod-build/$_svnmod
28 python setup.py build || return 1
29 python setup.py install --root=$startdir/pkg --prefix=/usr
31 # install some freedesktop.org compatibility
32 install -D -m644 $startdir/src/thuban.desktop \
33 $startdir/pkg/usr/share/applications/thuban.desktop
35 rm -rf $startdir/src/$_svnmod-build