updated on Thu Jan 26 12:02:26 UTC 2012
[aur-mirror.git] / pyshapelib / PKGBUILD
blob7089682a95405e39a4c9aada089cb0937c2f240a
1 # Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
2 pkgname=pyshapelib
3 pkgver=0.3
4 pkgrel=2
5 pkgdesc="Python library for reading and writing ESRI Shapefiles"
6 arch=('i686' 'x86_64')
7 url="http://ftp.intevation.de/users/bh/pyshapelib"
8 license=('LGPL')
9 depends=('python2')
10 makedepends=('python2-distribute')
11 source=(http://ftp.intevation.de/users/bh/pyshapelib/${pkgname}-${pkgver}.zip http://dl.maptools.org/dl/shapelib/shapelib-1.2.10.tar.gz)
12 md5sums=('970232a523aba1a4d20377fee5b86a46' '4d96bd926167193d27bf14d56e2d484e')
14 package() {
15    cd "${srcdir}/${pkgname}-${pkgver}"
16    ln -sf ${srcdir}/shapelib-1.2.10 ${srcdir}/shapelib
17    python2 setup.py install --prefix=/usr --root=${pkgdir}