[arch-commits] Commit in cgns/repos/community-x86_64 (PKGBUILD PKGBUILD)

Bruno Pagani archange at archlinux.org
Sun Mar 14 01:50:17 UTC 2021


    Date: Sunday, March 14, 2021 @ 01:50:16
  Author: archange
Revision: 890771

archrelease: copy trunk to community-x86_64

Added:
  cgns/repos/community-x86_64/PKGBUILD
    (from rev 890770, cgns/trunk/PKGBUILD)
Deleted:
  cgns/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-03-14 01:49:11 UTC (rev 890770)
+++ PKGBUILD	2021-03-14 01:50:16 UTC (rev 890771)
@@ -1,43 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-_pkgname=CGNS
-pkgname=cgns
-pkgver=4.1.1
-pkgrel=2
-pkgdesc="Standard for recording and recovering computer data associated with the numerical solution of fluid dynamics equations"
-arch=(x86_64)
-url="https://cgns.github.io/"
-license=(custom)
-depends=(tk hdf5 libxmu glu)
-makedepends=(gcc-fortran cmake)
-options=(!makeflags)
-source=(https://github.com/${_pkgname}/${_pkgname}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha256sums=('055d345c3569df3ae832fb2611cd7e0bc61d56da41b2be1533407e949581e226')
-
-build() {
-    cmake -B build -S ${_pkgname}-${pkgver} \
-        -DCGNS_BUILD_CGNSTOOLS=ON \
-        -DCGNS_BUILD_SHARED=ON \
-        -DCGNS_ENABLE_64BIT=ON \
-        -DCGNS_ENABLE_FORTRAN=ON \
-        -DCGNS_ENABLE_HDF5=ON \
-        -DCGNS_ENABLE_LEGACY=ON \
-        -DCGNS_ENABLE_SCOPING=OFF \
-        -DCGNS_ENABLE_TESTS=ON \
-        -DHDF5_FOUND=OFF \
-        -DCMAKE_BUILD_TYPE="Release" \
-        -DCMAKE_INSTALL_PREFIX=/usr \
-        -DCMAKE_SKIP_RPATH=ON
-# HDF5_FOUND=OFF is a (silly) workaround for https://cgnsorg.atlassian.net/browse/CGNS-143
-    make -C build
-}
-
-
-check() {
-    make -C build test
-}
-
-package() {
-    make -C build DESTDIR="${pkgdir}" install
-    install -Dm644 ${_pkgname}-${pkgver}/license.txt -t "${pkgdir}"/usr/share/licenses/${pkgname}/
-}

Copied: cgns/repos/community-x86_64/PKGBUILD (from rev 890770, cgns/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-03-14 01:50:16 UTC (rev 890771)
@@ -0,0 +1,50 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkgname=CGNS
+pkgname=cgns
+pkgver=4.1.2
+pkgrel=1
+pkgdesc="Standard for recording and recovering computer data associated with the numerical solution of fluid dynamics equations"
+arch=(x86_64)
+url="https://cgns.github.io/"
+license=(custom)
+depends=(tk hdf5 libxmu glu)
+makedepends=(gcc-fortran cmake)
+options=(!makeflags)
+source=(https://github.com/${_pkgname}/${_pkgname}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz
+        cgns-fix-gfortran10.patch::https://github.com/CGNS/CGNS/commit/d463a92cd05545b0c76207589665e3827b3a10ed.patch)
+sha256sums=('951653956f509b8a64040f1440c77f5ee0e6e2bf0a9eef1248d370f60a400050'
+            '44a27ae954ac38106236148ff9058aa90646127ef105eb5a89c951372e5efa06')
+
+prepare() {
+    cd ${_pkgname}-${pkgver}
+    patch -Np1 -i ../cgns-fix-gfortran10.patch
+}
+
+build() {
+    cmake -B build -S ${_pkgname}-${pkgver} \
+        -DCGNS_BUILD_CGNSTOOLS=ON \
+        -DCGNS_BUILD_SHARED=ON \
+        -DCGNS_ENABLE_64BIT=ON \
+        -DCGNS_ENABLE_FORTRAN=ON \
+        -DCGNS_ENABLE_HDF5=ON \
+        -DCGNS_ENABLE_LEGACY=ON \
+        -DCGNS_ENABLE_SCOPING=OFF \
+        -DCGNS_ENABLE_TESTS=ON \
+        -DHDF5_FOUND=OFF \
+        -DCMAKE_BUILD_TYPE="Release" \
+        -DCMAKE_INSTALL_PREFIX=/usr \
+        -DCMAKE_SKIP_RPATH=ON
+# HDF5_FOUND=OFF is a (silly) workaround for https://cgnsorg.atlassian.net/browse/CGNS-143
+    make -C build
+}
+
+
+check() {
+    make -C build test
+}
+
+package() {
+    make -C build DESTDIR="${pkgdir}" install
+    install -Dm644 ${_pkgname}-${pkgver}/license.txt -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+}



More information about the arch-commits mailing list