1 # Contributor: Anton Bazhenov <anton.bazhenov at gmail>
2 # Contributor: Graziano Giuliani <giuliani@lamma.rete.toscana.it>
7 pkgdesc="A program to manipulate, inventory and decode GRIB-2 files"
9 url="http://www.cpc.noaa.gov/products/wesley/wgrib2/"
11 depends=('netcdf' 'jasper' 'libpng' 'libmysqlclient')
12 makedepends=('g2clib')
13 source=(ftp://ftp.cpc.ncep.noaa.gov/wd51we/$pkgname/wgrib2_nolib.tgz.v1.9.4
15 md5sums=('dbc5d962653dbf34837d0a7ffbd1d79a'
16 'd6bc8091d818be2cc16f226b045a20b6')
20 patch -p0 -i $srcdir/wgrib2.patch
22 install -Dm755 $pkgname/$pkgname "$pkgdir"/usr/bin/$pkgname
23 install -Dm644 $pkgname/LICENSE-$pkgname "$pkgdir"/usr/share/licenses/$pkgname/LICENSE