1 # Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
5 pkgdesc="Python interfaces to PROJ.4 library"
7 url="http://code.google.com/p/pyproj"
9 source=(http://pyproj.googlecode.com/files/${pkgname}-${pkgver}.tar.gz)
10 depends=('proj' 'python2')
11 makedepends=('python2-distribute')
12 sha1sums=('eebf29135ff8ef25294fe7477270e2bc6836e5dc')
15 cd "${srcdir}/${pkgname}-${pkgver}"
17 python2 setup.py build
21 cd "${srcdir}/${pkgname}-${pkgver}"
23 python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
25 install -dm755 ${pkgdir}/usr/share/licenses/${pkgname}
26 install -m644 LICENSE_proj4 ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE