updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / thuban-svn / PKGBUILD
blobf7bd40cc6576e4e88685ddb6a3089e0412ba4bf4
1 # $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
2 # Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
4 pkgname=thuban-svn
5 pkgver=2878
6 pkgrel=1
7 pkgdesc="Interactive Geographic Data Viewer with support for vector & raster data."
8 arch=('i686' 'x86_64')
9 url="http://thuban.intevation.org/"
10 license=('GPL')
11 depends=('gdal' 'python-pysqlite-legacy' 'wxpython' 'wxgtk')
12 makedepends=('proj' 'subversion')
13 conflicts=('thuban')
14 provides=('thuban')
15 source=(thuban.desktop)
16 md5sums=('25b3d0a5a997c4f102bc9bed3853cdda')
18 _svntrunk=https://scm.wald.intevation.org/svn/thuban/trunk
19 _svnmod=thuban
21 build() {
22   cd $startdir/src/
23   svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
25   cp -r $_svnmod $_svnmod-build
26   cd $_svnmod-build/$_svnmod
27   
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
37 # vim:syntax=sh