updated on Mon Jan 16 00:01:41 UTC 2012
[aur-mirror.git] / pyproj / PKGBUILD
blob8f7cb54256ebea91acf095eb6c44012cc14bffeb
1 # Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
2 pkgname=pyproj
3 pkgver=1.8.9
4 pkgrel=1
5 pkgdesc="Python interfaces to PROJ.4 library"
6 arch=('i686' 'x86_64')
7 url="http://code.google.com/p/pyproj"
8 license=('custom')
9 source=(http://pyproj.googlecode.com/files/${pkgname}-${pkgver}.tar.gz)
10 depends=('proj' 'python2')
11 makedepends=('python2-distribute')
12 sha1sums=('eebf29135ff8ef25294fe7477270e2bc6836e5dc')
14 build() {
15    cd "${srcdir}/${pkgname}-${pkgver}"
17    python2 setup.py build
20 package() {
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