diff options
author | root <root@rshg054.dnsready.net> | 2012-10-16 00:33:10 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-10-16 00:33:10 -0700 |
commit | 99d0ec7ebad2eda5f3a03098962e3b250e3bef4c (patch) | |
tree | 8b24758dfa8c691cda33acaa931699ce81dc1c15 /community-staging/mezogis | |
parent | e9dd04abd0ede1143ea4af10059e37c2f599e1fd (diff) |
Tue Oct 16 00:33:08 PDT 2012
Diffstat (limited to 'community-staging/mezogis')
-rw-r--r-- | community-staging/mezogis/ChangeLog | 3 | ||||
-rw-r--r-- | community-staging/mezogis/PKGBUILD | 26 |
2 files changed, 29 insertions, 0 deletions
diff --git a/community-staging/mezogis/ChangeLog b/community-staging/mezogis/ChangeLog new file mode 100644 index 000000000..dba4cf7ec --- /dev/null +++ b/community-staging/mezogis/ChangeLog @@ -0,0 +1,3 @@ +2007-06-27 tardo <tardo@nagi-fanboi.net> +* Built for x86_64 + diff --git a/community-staging/mezogis/PKGBUILD b/community-staging/mezogis/PKGBUILD new file mode 100644 index 000000000..be14bb8c1 --- /dev/null +++ b/community-staging/mezogis/PKGBUILD @@ -0,0 +1,26 @@ +# $Id: PKGBUILD 78010 2012-10-16 03:23:52Z allan $ +# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> +# Contributor: William Rea <sillywilly@gmail.com> + +pkgname=mezogis +pkgver=0.1.5 +pkgrel=6 +pkgdesc="A GIS application to query and analyse spatial data" +arch=('i686' 'x86_64') +url="http://www.mezogis.org" +license=('GPL') +depends=('pygtk' 'python2-geotypes' 'postgis') +source=("http://www.mezogis.org/files/mezogis-$pkgver.tar.gz") +md5sums=('1f886b849109a1a1bd3e165353b82368') + +package() { + cd $srcdir/mezogis-$pkgver + + # python2 fix + for file in $(find . -name '*.py' -print); do + sed -i 's_#!.*/usr/bin/python_#!/usr/bin/python2_' $file + sed -i 's_#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file + done + + python2 setup.py install --root=$pkgdir +} |