1 # Maintainer: Maxime Gauduin <alucryd@archlinux.org>
2 # Contributor: Christian Pfeiffer <cpfeiffer@live.de>
7 pkgdesc='Simple C++ geometry processing library'
9 url=https://github.com/libigl/libigl
17 _tag=66b3ef2253e765d0ce0db74cec91bd706e5ba176
18 source=(git+https://github.com/libigl/libigl.git#tag=${_tag})
22 cmake -S libigl -B build -G Ninja \
23 -DCMAKE_BUILD_TYPE=None \
24 -DCMAKE_INSTALL_PREFIX=/usr \
25 -DFETCHCONTENT_SOURCE_DIR_EIGEN=/usr/include/eigen3 \
26 -DFETCHCONTENT_UPDATES_DISCONNECTED=ON \
27 -DLIBIGL_BUILD_TESTS=OFF \
28 -DLIBIGL_BUILD_TUTORIALS=OFF \
29 -DLIBIGL_COPYLEFT_CGAL=OFF \
30 -DLIBIGL_COPYLEFT_COMISO=OFF \
31 -DLIBIGL_COPYLEFT_TETGEN=OFF \
37 -DLIBIGL_PREDICATES=OFF \
38 -DLIBIGL_RESTRICTED_MATLAB=OFF \
39 -DLIBIGL_RESTRICTED_MOSEK=OFF \
40 -DLIBIGL_RESTRICTED_TRIANGLE=OFF \
41 -DLIBIGL_USE_STATIC_LIBRARY=OFF \
47 DESTDIR="${pkgdir}" cmake --install build
48 rm -rf "${pkgdir}"/usr/{include/Eigen,lib/cmake/eigen}