Date: Wednesday, October 23, 2019 @ 18:31:57 Author: jelle Revision: 518749
db-move: moved curaengine from [community-staging] to [community-testing] (x86_64) Added: curaengine/repos/community-testing-x86_64/ curaengine/repos/community-testing-x86_64/PKGBUILD (from rev 518748, curaengine/repos/community-staging-x86_64/PKGBUILD) Deleted: curaengine/repos/community-staging-x86_64/ ----------+ PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) Copied: curaengine/repos/community-testing-x86_64/PKGBUILD (from rev 518748, curaengine/repos/community-staging-x86_64/PKGBUILD) =================================================================== --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2019-10-23 18:31:57 UTC (rev 518749) @@ -0,0 +1,44 @@ +# Maintainer: Jelle van der Waa <je...@archlinux.org> +# Contributor: Grey Christoforo <first name [at] last name [dot] net> + +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=ON \ + -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: