# $Id: PKGBUILD 78223 2012-10-17 10:25:46Z allan $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor:tardo <tardo@nagi-fanboi.net>

# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
#  - rebuild for pkgname rename without pkgrel bump, remove when bumped upstream

pkgbase=python-geotypes
pkgname=python2-geotypes
pkgver=0.7.0
pkgrel=6.1
pkgdesc="A python library that implements the OpenGIS 'Simple Features Specification for SQL' Geometric Object Model"
arch=('any')
url="http://pypi.python.org/pypi/GeoTypes"
license=('LGPL')
depends=('python2-psycopg1')
conflicts=('python-geotypes<=0.7.0-6')
replaces=('python-geotypes<=0.7.0-6')
source=("ftp://ftp.archlinux.org/other/community/${pkgname}/GeoTypes-${pkgver}.tar.gz")
md5sums=('241f2a2ec3a90b7d501fccf7879549db')

package_python2-geotypes() {
  cd "${srcdir}/GeoTypes-${pkgver}"

  python2 setup.py install --root="${pkgdir}" --optimize=1 -O1
}