diff options
author | Grey Christoforo | 2021-04-04 20:57:30 +0200 |
---|---|---|
committer | Grey Christoforo | 2021-04-04 20:57:30 +0200 |
commit | 9133a47f8aea5c54220103428e6b2181898d43a1 (patch) | |
tree | 2e3d2a61d1f2fb71d82ffdbbe900a510db9032be | |
parent | f2cf30f88a3bd799eebc9ff2071a165a3973b948 (diff) | |
download | aur-9133a47f8aea5c54220103428e6b2181898d43a1.tar.gz |
try to sandbox check()
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -1,7 +1,7 @@ # Maintainer: Grey Christoforo <first name at last name dot net> pkgname=freecad-git -pkgver=0.19_pre.r4995.g1851ddd933 +pkgver=0.19.r407.ge66ed26769 pkgrel=1 epoch=0 pkgdesc='A general purpose 3D CAD modeler - git checkout' @@ -70,6 +70,8 @@ build() { cmake -Wno-dev \ -D BUILD_ENABLE_CXX_STD=C++14 \ -D BUILD_QT5=ON \ + -D BUILD_FEM=ON \ + -D BUILD_MESH=ON \ -D CMAKE_INSTALL_PREFIX="" \ -D CMAKE_BUILD_TYPE=None \ -D CMAKE_C_FLAGS="${CFLAGS} -fPIC -w" \ @@ -90,7 +92,10 @@ check() { DESTDIR=check cmake --build build_dir -- install cd build_dir/check - LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:lib bin/FreeCADCmd --console --run-test 0 + export LD_LIBRARY_PATH=lib:${LD_LIBRARY_PATH} + #exit + export PYTHONPATH=lib + bin/FreeCADCmd --console --run-test 0 } package() { |