[arch-commits] Commit in netcdf-cxx/trunk (PKGBUILD)

Bruno Pagani archange at archlinux.org
Sun Apr 12 15:03:07 UTC 2020


    Date: Sunday, April 12, 2020 @ 15:03:06
  Author: archange
Revision: 613416

hdf5 1.12 rebuild + add upstream patch

Modified:
  netcdf-cxx/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-12 15:02:07 UTC (rev 613415)
+++ PKGBUILD	2020-04-12 15:03:06 UTC (rev 613416)
@@ -4,7 +4,7 @@
 
 pkgname=netcdf-cxx
 pkgver=4.3.1
-pkgrel=1
+pkgrel=2
 pkgdesc="NetCDF C++ bindings"
 arch=(x86_64)
 url="https://github.com/Unidata/netcdf-cxx4/"
@@ -11,9 +11,16 @@
 license=(custom)
 depends=(gcc-libs netcdf curl)
 options=(!makeflags)
-source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha256sums=('e3fe3d2ec06c1c2772555bf1208d220aab5fee186d04bd265219b0bc7a978edc')
+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 \



More information about the arch-commits mailing list