PKGBUILDs/community/thuban/PKGBUILD
2009-10-09 21:15:33 -05:00

28 lines
914 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Contributor: dibblethewrecker dibblethewrecker.at.gmail.com
pkgname=thuban
pkgver=1.2.1
pkgrel=1
pkgdesc="Interactive Geographic Data Viewer with support for vector & raster data."
arch=('i686' 'x86_64')
url="http://thuban.intevation.org/"
license=('GPL')
depends=('gdal' 'python-pysqlite-legacy' 'wxpython' 'wxgtk')
makedepends=('proj')
replaces=('thuban-svn')
source=(http://wald.intevation.org/frs/download.php/408/Thuban-$pkgver.tar.bz2 thuban.desktop)
md5sums=('7edc3b2b890960a3e3fe43008d948aab'
'25b3d0a5a997c4f102bc9bed3853cdda')
build() {
cd $startdir/src/Thuban-1.2.1
python setup.py build || return 1
python setup.py install --root=$startdir/pkg --prefix=/usr
# install some freedesktop.org compatibility
install -D -m644 $startdir/src/thuban.desktop \
$startdir/pkg/usr/share/applications/thuban.desktop
}
# vim:syntax=sh