1 # Contributor: Stéphane Gaudreault <stephane@archlinux.org>
5 pkgdesc="Python module for reading and writing GRIB edition 2 files."
7 url="http://code.google.com/p/pygrib2"
9 source=(http://pygrib2.googlecode.com/files/${pkgname}-${pkgver}.tar.gz)
10 md5sums=('0b74036798fdc65d9015429476a867e8')
11 depends=('pyproj' 'python2' 'jasper' 'python2-numpy' 'libpng' 'zlib')
12 makedepends=('python2-distribute')
15 cd "${srcdir}/${pkgname}-${pkgver}"
17 export JASPER_DIR=/usr
21 python2 setup.py install --prefix=/usr --root=$startdir/pkg
23 install -dm755 ${pkgdir}/usr/share/licenses/${pkgname}
24 install -m644 README.txt ${pkgdir}/usr/share/licenses/${pkgname}/