# Maintainer: Jelle van der Waa # Contributor: Grey Christoforo # ALARM: Kevin Mihelich # - -DBUILD_TESTS=OFF pkgname=curaengine pkgver=4.1.0 pkgrel=1 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') # TODO: https://github.com/Ultimaker/CuraEngine/blob/master/CMakeLists.txt#L26 # 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=('49a3d3943c0767ceba2b94d061e11f43a428401941032cb1cbc578acf95495ba2db48307a9e28056f5a641be7ba581b53264a3d32abbbeeb00b978c8203ca79f') 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: