updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / wgrib2 / PKGBUILD
blob3baa1726838d5d622e04a29d455ef4ffa4da0220
1 # Contributor: Anton Bazhenov <anton.bazhenov at gmail>
2 # Contributor: Graziano Giuliani <giuliani@lamma.rete.toscana.it>
4 pkgname=wgrib2
5 pkgver=0.1.9.4
6 pkgrel=1
7 pkgdesc="A program to manipulate, inventory and decode GRIB-2 files"
8 arch=('i686' 'x86_64')
9 url="http://www.cpc.noaa.gov/products/wesley/wgrib2/"
10 license=('custom')
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
14         wgrib2.patch)
15 md5sums=('dbc5d962653dbf34837d0a7ffbd1d79a'
16          'd6bc8091d818be2cc16f226b045a20b6')
18 build() {
19   cd "$srcdir"/grib2
20   patch -p0 -i $srcdir/wgrib2.patch
21   make || return 1
22   install -Dm755 $pkgname/$pkgname "$pkgdir"/usr/bin/$pkgname
23   install -Dm644 $pkgname/LICENSE-$pkgname "$pkgdir"/usr/share/licenses/$pkgname/LICENSE