# Contributor: Holger Jaekel # Maintainer: Holger Jaekel pkgname=netcdf-fortran pkgver=4.6.2 pkgrel=0 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=" cde63b4d285ef00f256a028c79b6c00a525e4cbe8dab83d3eab14a568a2d32c22dd0e81bccc5bde997860918a7ee184d15b15c847f492ce6393a425dafed3ef2 netcdf-fortran-4.6.2.tar.gz "