[arch-commits] Commit in cgns/trunk (PKGBUILD)
Bruno Pagani
archange at archlinux.org
Sun Mar 14 01:49:15 UTC 2021
Date: Sunday, March 14, 2021 @ 01:49:11
Author: archange
Revision: 890770
upgpkg: cgns 4.1.2-1
Modified:
cgns/trunk/PKGBUILD
----------+
PKGBUILD | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-03-14 01:28:05 UTC (rev 890769)
+++ PKGBUILD 2021-03-14 01:49:11 UTC (rev 890770)
@@ -2,8 +2,8 @@
_pkgname=CGNS
pkgname=cgns
-pkgver=4.1.1
-pkgrel=2
+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/"
@@ -11,9 +11,16 @@
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')
+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 \
More information about the arch-commits
mailing list