# Maintainer: Jelle van der Waa # Contributor: Grey Christoforo # ALARM: Kevin Mihelich # - -DBUILD_TESTS=OFF pkgname=curaengine pkgver=4.3.0 pkgrel=2 pkgdesc="Engine for processing 3D models into 3D printing instruction for Ultimaker and other GCode based 3D printers." url="https://github.com/Ultimaker/CuraEngine" arch=('x86_64') license=('AGPL') depends=('arcus' 'rapidjson' 'polyclipping') # TODO: https://github.com/Ultimaker/CuraEngine/blob/master/CMakeLists.txt#L26 # Work with system openmp # Package polyclipping in the repos checkdepends=('cppunit') makedepends=('cmake' 'git') source=("$pkgname-$pkgver.tar.gz::https://github.com/Ultimaker/${pkgname}/archive/${pkgver}.tar.gz") sha512sums=('60ca0ce586c0cf5f1516f803b2a05a20299ef8193f065acd6e11a0054903189225f9c60be1b536ffe5a9a22652097acd3a4aae2833920a468071b78f213f7572') build() { cd CuraEngine-${pkgver} mkdir -p build cd build cmake .. \ -DCMAKE_INSTALL_PREFIX=/usr \ -DBUILD_TESTS=OFF \ -DCMAKE_BUILD_TYPE=Release make } check() { cd CuraEngine-${pkgver}/build make test } package() { cd CuraEngine-${pkgver}/build make DESTDIR="${pkgdir}" install } # vim:set ts=2 sw=2 et: