Date: Sunday, April 12, 2020 @ 15:03:18 Author: archange Revision: 613417
archrelease: copy trunk to community-x86_64 Added: netcdf-cxx/repos/community-x86_64/PKGBUILD (from rev 613416, netcdf-cxx/trunk/PKGBUILD) Deleted: netcdf-cxx/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 79 +++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 43 insertions(+), 36 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-04-12 15:03:06 UTC (rev 613416) +++ PKGBUILD 2020-04-12 15:03:18 UTC (rev 613417) @@ -1,36 +0,0 @@ -# Maintainer: Bruno Pagani <archa...@archlinux.org> -# Maintainer: Ronald van Haren <ronald.archlinux.org> -# Contributor: damir <da...@archlinux.org> - -pkgname=netcdf-cxx -pkgver=4.3.1 -pkgrel=1 -pkgdesc="NetCDF C++ bindings" -arch=(x86_64) -url="https://github.com/Unidata/netcdf-cxx4/" -license=(custom) -depends=(gcc-libs netcdf curl) -options=(!makeflags) -source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz) -sha256sums=('e3fe3d2ec06c1c2772555bf1208d220aab5fee186d04bd265219b0bc7a978edc') - -build() { - cd ${pkgname}4-${pkgver} - ./configure \ - --prefix=/usr \ - --enable-shared \ - --enable-extra-tests \ - --enable-large-file-tests - make -} - -check() { - cd ${pkgname}4-${pkgver} - make check -} - -package() { - cd ${pkgname}4-${pkgver} - make DESTDIR="${pkgdir}" install - install -Dm644 COPYRIGHT -t ${pkgdir}/usr/share/licenses/${pkgname}/ -} Copied: netcdf-cxx/repos/community-x86_64/PKGBUILD (from rev 613416, netcdf-cxx/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-04-12 15:03:18 UTC (rev 613417) @@ -0,0 +1,43 @@ +# Maintainer: Bruno Pagani <archa...@archlinux.org> +# Maintainer: Ronald van Haren <ronald.archlinux.org> +# Contributor: damir <da...@archlinux.org> + +pkgname=netcdf-cxx +pkgver=4.3.1 +pkgrel=2 +pkgdesc="NetCDF C++ bindings" +arch=(x86_64) +url="https://github.com/Unidata/netcdf-cxx4/" +license=(custom) +depends=(gcc-libs netcdf curl) +options=(!makeflags) +source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz + netcdf-cxx-fix-debug-flags.patch::${url}/commit/fe9511b4149fd6e7f71252f61657e03ce6ee01c6.patch) +sha256sums=('e3fe3d2ec06c1c2772555bf1208d220aab5fee186d04bd265219b0bc7a978edc' + '80c238d964a3aebf56a01b6b4eb04321f4b244f12e49c2c3b8a7a4934f308ee6') + +prepare() { + cd ${pkgname}4-${pkgver} + patch -p1 -i ../netcdf-cxx-fix-debug-flags.patch +} + +build() { + cd ${pkgname}4-${pkgver} + ./configure \ + --prefix=/usr \ + --enable-shared \ + --enable-extra-tests \ + --enable-large-file-tests + make +} + +check() { + cd ${pkgname}4-${pkgver} + make check +} + +package() { + cd ${pkgname}4-${pkgver} + make DESTDIR="${pkgdir}" install + install -Dm644 COPYRIGHT -t "${pkgdir}"/usr/share/licenses/${pkgname}/ +}