diff options
author | root <root@rshg054.dnsready.net> | 2012-10-17 01:15:52 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-10-17 01:15:52 -0700 |
commit | c84b2cd310f86dc50c4f52a5907cb17652e8c87c (patch) | |
tree | ef3dc614b68e1e6f5966a5d29f3970e27bb7c4f9 /community-testing/mezogis | |
parent | 99d0ec7ebad2eda5f3a03098962e3b250e3bef4c (diff) |
Wed Oct 17 01:14:52 PDT 2012
Diffstat (limited to 'community-testing/mezogis')
-rw-r--r-- | community-testing/mezogis/ChangeLog | 3 | ||||
-rw-r--r-- | community-testing/mezogis/PKGBUILD | 26 |
2 files changed, 29 insertions, 0 deletions
diff --git a/community-testing/mezogis/ChangeLog b/community-testing/mezogis/ChangeLog new file mode 100644 index 000000000..dba4cf7ec --- /dev/null +++ b/community-testing/mezogis/ChangeLog @@ -0,0 +1,3 @@ +2007-06-27 tardo <tardo@nagi-fanboi.net> +* Built for x86_64 + diff --git a/community-testing/mezogis/PKGBUILD b/community-testing/mezogis/PKGBUILD new file mode 100644 index 000000000..4e0f09c6c --- /dev/null +++ b/community-testing/mezogis/PKGBUILD @@ -0,0 +1,26 @@ +# $Id: PKGBUILD 78132 2012-10-16 12:09:28Z 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 +} |