summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 187546fa837adb44a77051eae7b21edf35177957 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Maintainer: Graziano Giuliani <graziano.giuliani@gmail.com>
pkgname=netcdf-cxx-legacy
spkgname=netcdf-cxx
pkgver=4.2
pkgrel=2
pkgdesc="Backward compatible netCDF C++ library"
arch=(i686 x86_64)
url="https://www.unidata.ucar.edu/downloads/netcdf/netcdf-cxx"
license=('GPL')
groups=(science)
depends=(netcdf)
source=(ftp://ftp.unidata.ucar.edu/pub/netcdf/${spkgname}-${pkgver}.tar.gz)
md5sums=('d32b20c00f144ae6565d9e98d9f6204c')

build() {
  cd ${srcdir}/${spkgname}-${pkgver}
  ./configure --prefix=/usr
  make
}

package() {
  cd ${srcdir}/${spkgname}-${pkgver}
  make DESTDIR=${pkgdir} install
}

# vim:set ts=2 sw=2 et: