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

Bruno Pagani archange at archlinux.org
Sun Apr 12 16:25:53 UTC 2020


    Date: Sunday, April 12, 2020 @ 16:25:53
  Author: archange
Revision: 613430

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: netcdf-fortran/repos/community-staging-x86_64/PKGBUILD (from rev 613429, netcdf-fortran/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-04-12 16:25:53 UTC (rev 613430)
@@ -0,0 +1,39 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: damir <damir at archlinux.org>
+
+pkgname=netcdf-fortran
+pkgver=4.5.2
+pkgrel=2
+pkgdesc="NetCDF fortran bindings"
+arch=(x86_64)
+url="https://github.com/Unidata/netcdf-fortran"
+license=(custom)
+depends=(gcc-libs netcdf curl)
+makedepends=(gcc-fortran doxygen)
+checkdepends=(valgrind)
+options=(!makeflags staticlibs)
+source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('0b05c629c70d6d224a3be28699c066bfdfeae477aea211fbf034d973a8309b49')
+
+build() {
+    cd ${pkgname}-${pkgver}
+    ./configure \
+        --prefix=/usr \
+        --enable-extra-tests \
+        --enable-extra-example-tests \
+        --enable-large-file-tests \
+        --enable-valgrind-tests
+    make
+}
+
+check() {
+    cd ${pkgname}-${pkgver}
+    make check
+}
+
+package() {
+    cd ${pkgname}-${pkgver}
+    make DESTDIR="${pkgdir}" install
+    install -Dm644 COPYRIGHT -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+}



More information about the arch-commits mailing list