# Description: Programmers Solid 3D CAD Modeller # URL: http://www.openscad.org/ # Maintainer: Erich Eckner, crux at eckner dot net # Contributor: Joe M, joe9mail at gmail dot com # Depends on: qt5 cgal opencsg libgmp libmpfr boost cmake gcc bison flex eigen double-conversion name=openscad version=2021.01 release=2 source=(https://files.openscad.org/openscad-$version.src.tar.gz https://github.com/openscad/openscad/commit/00a4692989c4e2f191525f73f24ad8727bacdf41.patch https://github.com/openscad/openscad/commit/84addf3c1efbd51d8ff424b7da276400bbfa1a4b.patch https://github.com/openscad/openscad/commit/4c5d19c302d7d440d1c11c3d02b3ce5eb2e548da.patch https://github.com/openscad/openscad/commit/9aa0d7e9f2914fe5f547bdde69202161d1c6064d.patch https://github.com/openscad/openscad/commit/c50837d597a17b5d4cd8c7ed8e09cb07edb98a6f.patch https://github.com/openscad/openscad/commit/abfebc651343909b534ef337aacc7604c99cf0ea.patch https://github.com/openscad/openscad/commit/08bf69b4115c989fc5671254e0d05735d01bcca5.patch fs.patch) build () { cd $name-$version for s in ../*.patch; do patch -p1 -i "$s" done qmake PREFIX=/usr make make DESTDIR=$PKG INSTALL_ROOT=$PKG install }