diff options
author | Britney Fransen <brfransen@gmail.com> | 2017-02-07 14:37:32 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2017-02-07 14:37:32 (GMT) |
commit | b34b757ce4e46744d8e86369aeb73ad2b3c6fe91 (patch) | |
tree | d3f61bf6938b8b07825788789b34a6fd36db826f /abs | |
parent | 255f83825235080240c64c61c6c62abb6beec962 (diff) | |
download | linhes_pkgbuild-b34b757ce4e46744d8e86369aeb73ad2b3c6fe91.zip linhes_pkgbuild-b34b757ce4e46744d8e86369aeb73ad2b3c6fe91.tar.gz linhes_pkgbuild-b34b757ce4e46744d8e86369aeb73ad2b3c6fe91.tar.bz2 |
netcdf: update to 4.4.1
Diffstat (limited to 'abs')
-rw-r--r-- | abs/extra/netcdf/PKGBUILD | 31 |
1 files changed, 17 insertions, 14 deletions
diff --git a/abs/extra/netcdf/PKGBUILD b/abs/extra/netcdf/PKGBUILD index c73dec6..e05e548 100644 --- a/abs/extra/netcdf/PKGBUILD +++ b/abs/extra/netcdf/PKGBUILD @@ -3,44 +3,47 @@ # Contributor: damir <damir@archlinux.org> pkgname=netcdf -pkgver=4.4.1rc1 -pkgrel=1 +pkgver=4.4.1 +pkgrel=2 pkgdesc="network Common Data Form interface for array-oriented data access and corresponding library" arch=("i686" "x86_64") url="http://www.unidata.ucar.edu/downloads/netcdf/index.jsp" depends=('gcc-libs' 'hdf5' 'curl') optdepends=('netcdf-fortran: fortran bindings' 'netcdf-cxx: c++ bindings') +provides=('libnetcdf.so') options=('!makeflags') license=('custom') #source=("http://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-${pkgver}.tar.gz") -source=("https://github.com/Unidata/netcdf-c/archive/v4.4.1-rc1.tar.gz") -sha1sums=('7606c16814bf9b33a66815e4109d9ba2df4a4936') +source=("https://github.com/Unidata/netcdf-c/archive/v${pkgver}.tar.gz") +sha1sums=('1cae39472930a25d6ab1bdf6af2a0d85d09aedf9') build() { -# cd "${srcdir}"/${pkgname}-${pkgver} - cd "${srcdir}"/netcdf-c-4.4.1-rc1 + # cd "${srcdir}"/${pkgname}-${pkgver} + cd "${srcdir}/netcdf-c-${pkgver}" # autoreconf -fis ./configure --prefix=/usr --enable-shared --enable-netcdf-4 --enable-dap-netcdf make } -# hdf5 tests fail, have not yet been updated to hdf5-1.10.0 -#check() { -# cd "${srcdir}"/${pkgname}-${pkgver} -# cd "${srcdir}"/netcdf-c-4.4.1-rc1 -# make check -#} +# As of netcdf-c-4.4.1, all the tests pass except for one; a workaround is to +# update CFLAGS so no optimization level is used (i.e., remove "-O2"). See +# https://github.com/Unidata/netcdf-c/issues/244 +# check() { +# # cd "${srcdir}"/${pkgname}-${pkgver} +# cd "${srcdir}/netcdf-c-${pkgver}" +# make check +# } package() { # cd "${srcdir}"/${pkgname}-${pkgver} - cd "${srcdir}"/netcdf-c-4.4.1-rc1 + cd "${srcdir}/netcdf-c-${pkgver}" install -m755 -d "${pkgdir}"/usr/lib install -m755 -d "${pkgdir}"/usr/share/man make DESTDIR="${pkgdir}" install # install -Dm644 "${srcdir}"/${pkgname}-${pkgver}/COPYRIGHT \ # "${pkgdir}"/usr/share/licenses/${pkgname}/COPYRIGHT - install -Dm644 "${srcdir}"/netcdf-c-4.4.1-rc1/COPYRIGHT \ + install -Dm644 "${srcdir}"/netcdf-c-${pkgver}/COPYRIGHT \ "${pkgdir}"/usr/share/licenses/${pkgname}/COPYRIGHT } |