# Contributor: Holger Jaekel # Maintainer: Holger Jaekel pkgname=netcdf-fortran pkgver=4.6.0 pkgrel=1 pkgdesc="NetCDF fortran bindings" url="https://www.unidata.ucar.edu/software/netcdf/" arch="all !s390x" license="Apache-2.0" makedepends=" cmake doxygen gfortran graphviz m4 netcdf-dev " depends_dev=" netcdf-dev " subpackages=" $pkgname-doc $pkgname-dev " source="$pkgname-$pkgver.tar.gz::https://github.com/Unidata/netcdf-fortran/archive/v$pkgver.tar.gz" build() { FCFLAGS="$FCFLAGS -fallow-argument-mismatch" \ FFLAGS="$FFLAGS -fallow-argument-mismatch" \ ./configure \ --prefix=/usr \ --disable-static make } package() { make DESTDIR="$pkgdir" install rm -rf $pkgdir/usr/include/CMakeFiles } check() { make check } sha512sums=" 2488c0d9d9df49c56253dda1a411c50bb32a52651bd5d43e303190ca7de06db3f48621da0c7faf48aaee01f7d74031b199fcfbecb2ba523a994c00470680f014 netcdf-fortran-4.6.0.tar.gz "