[arch-commits] Commit in med-openmpi/trunk (PKGBUILD)

Alexander Rødseth arodseth at gemini.archlinux.org
Sat Aug 6 19:38:19 UTC 2022


    Date: Saturday, August 6, 2022 @ 19:38:19
  Author: arodseth
Revision: 1260472

update the cmake installation path ref. feature request #73775

Modified:
  med-openmpi/trunk/PKGBUILD

----------+
 PKGBUILD |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-06 19:37:30 UTC (rev 1260471)
+++ PKGBUILD	2022-08-06 19:38:19 UTC (rev 1260472)
@@ -6,7 +6,7 @@
 
 pkgname=med-openmpi
 pkgver=4.1.1
-pkgrel=1
+pkgrel=2
 pkgdesc='Generic pre- and post-processing platform for numerical simulation'
 url="https://www.salome-platform.org/downloads"
 license=(LGPL)
@@ -25,6 +25,8 @@
   cd med-${pkgver}_SRC
   patch -p1 -i ../hdf5-1.12.patch # Fix build with hdf5 1.12 (Fedora)
   sed -i 's/if H5_VERS_MINOR > 10/if 0/g' src/ci/MEDfileCompatibility.c
+  # install cmake files to /usr/lib${LIB_SUFFIX}/cmake
+  sed -i 's,share/cmake,lib${LIB_SUFFIX}/cmake,g' CMakeLists.txt
 }
 
 build() {



More information about the arch-commits mailing list