[arch-commits] Commit in netcdf-cxx/repos (2 files)

Bruno Pagani archange at archlinux.org
Sun Apr 12 15:05:51 UTC 2020


    Date: Sunday, April 12, 2020 @ 15:05:51
  Author: archange
Revision: 613418

archrelease: copy trunk to community-staging-x86_64

Added:
  netcdf-cxx/repos/community-staging-x86_64/
  netcdf-cxx/repos/community-staging-x86_64/PKGBUILD
    (from rev 613417, netcdf-cxx/trunk/PKGBUILD)

----------+
 PKGBUILD |   43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

Copied: netcdf-cxx/repos/community-staging-x86_64/PKGBUILD (from rev 613417, netcdf-cxx/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-04-12 15:05:51 UTC (rev 613418)
@@ -0,0 +1,43 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: damir <damir at 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}/
+}



More information about the arch-commits mailing list