[arch-commits] Commit in netcdf-fortran/repos/community-x86_64 (PKGBUILD PKGBUILD)
Bruno Pagani
archange at archlinux.org
Mon Jul 27 21:42:04 UTC 2020
Date: Monday, July 27, 2020 @ 21:42:04
Author: archange
Revision: 665541
archrelease: copy trunk to community-x86_64
Added:
netcdf-fortran/repos/community-x86_64/PKGBUILD
(from rev 665540, netcdf-fortran/trunk/PKGBUILD)
Deleted:
netcdf-fortran/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 80 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 40 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-27 21:41:58 UTC (rev 665540)
+++ PKGBUILD 2020-07-27 21:42:04 UTC (rev 665541)
@@ -1,40 +0,0 @@
-# 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.3
-pkgrel=1
-pkgdesc="NetCDF fortran bindings"
-arch=(x86_64)
-url="https://github.com/Unidata/netcdf-fortran"
-license=(custom)
-depends=(gcc-libs netcdf curl)
-makedepends=(cmake gcc-fortran doxygen)
-checkdepends=(valgrind)
-options=(!makeflags staticlibs)
-source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha256sums=('c6da30c2fe7e4e614c1dff4124e857afbd45355c6798353eccfa60c0702b495a')
-
-build() {
- # Failure with GCC 10+
- export FCFLAGS="-fallow-argument-mismatch"
- export FFLAGS="-fallow-argument-mismatch"
- cmake -B build -S ${pkgname}-${pkgver} \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release \
- -DENABLE_FILTER_TEST=ON \
- -DLARGE_FILE_TESTS=ON \
- -DTEST_WITH_VALGRIND=ON
- make -C build
-}
-
-check() {
- make -C build test
-}
-
-package() {
- make -C build DESTDIR="${pkgdir}" install
- install -Dm644 ${pkgname}-${pkgver}/COPYRIGHT -t "${pkgdir}"/usr/share/licenses/${pkgname}/
- rmdir "${pkgdir}"/usr/include/CMakeFiles/{netcdff.dir,}
-}
Copied: netcdf-fortran/repos/community-x86_64/PKGBUILD (from rev 665540, netcdf-fortran/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-07-27 21:42:04 UTC (rev 665541)
@@ -0,0 +1,40 @@
+# 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.3
+pkgrel=1
+pkgdesc="NetCDF fortran bindings"
+arch=(x86_64)
+url="https://github.com/Unidata/netcdf-fortran"
+license=(custom)
+depends=(gcc-libs netcdf curl)
+makedepends=(cmake gcc-fortran doxygen)
+checkdepends=(valgrind)
+options=(!makeflags staticlibs)
+source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('c6da30c2fe7e4e614c1dff4124e857afbd45355c6798353eccfa60c0702b495a')
+
+build() {
+ # Failure with GCC 10+
+ export FCFLAGS="-fallow-argument-mismatch"
+ export FFLAGS="-fallow-argument-mismatch"
+ cmake -B build -S ${pkgname}-${pkgver} \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DENABLE_FILTER_TEST=ON \
+ -DENABLE_LARGE_FILE_TESTS=ON \
+ -DTEST_WITH_VALGRIND=ON
+ make -C build
+}
+
+check() {
+ make -C build test
+}
+
+package() {
+ make -C build DESTDIR="${pkgdir}" install
+ install -Dm644 ${pkgname}-${pkgver}/COPYRIGHT -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+ rmdir "${pkgdir}"/usr/include/CMakeFiles/{netcdff.dir,}
+}
More information about the arch-commits
mailing list