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

Bruno Pagani archange at gemini.archlinux.org
Thu Oct 21 18:42:24 UTC 2021


    Date: Thursday, October 21, 2021 @ 18:42:23
  Author: archange
Revision: 1032021

Remove some conflicting CMake files

Modified:
  vtk/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-10-21 18:40:51 UTC (rev 1032020)
+++ PKGBUILD	2021-10-21 18:42:23 UTC (rev 1032021)
@@ -7,7 +7,7 @@
 
 pkgname=vtk
 pkgver=9.0.3
-pkgrel=2
+pkgrel=3
 pkgdesc="Software system for 3D computer graphics, image processing, and visualization"
 arch=(x86_64)
 url="https://www.vtk.org/"
@@ -131,4 +131,9 @@
   # …and the libs to the proper place
   mv "${pkgdir}"/usr/lib/java/vtk-Linux-x86_64/*.so "${pkgdir}"/usr/lib/
   rmdir "${pkgdir}"/usr/lib/java/{vtk-Linux-x86_64/,}
+
+  # Remove third party CMake patching for older versions than ours
+  rm -rv "${pkgdir}"/usr/lib/cmake/vtk/patches/3.1{3,6,8}
+  # … as well as duplicate copies
+  rm -rv "${pkgdir}"/usr/lib/cmake/vtk/vtkm/cmake/Find*.cmake
 }



More information about the arch-commits mailing list