upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / curaengine / trunk / PKGBUILD
blob3d271ae35986d3b8711c2fd689de6f9af0e9ee27
1 # Maintainer: Jelle van der Waa <jelle@archlinux.org>
2 # Contributor: Grey Christoforo <first name [at] last name [dot] net>
4 pkgname=curaengine
5 pkgver=4.13.1
6 pkgrel=3
7 pkgdesc="Engine for processing 3D models into 3D printing instruction for Ultimaker and other GCode based 3D printers."
8 url="https://github.com/Ultimaker/CuraEngine"
9 arch=('x86_64')
10 license=('AGPL')
11 depends=('arcus' 'polyclipping')
12 checkdepends=('cppunit')
13 makedepends=('cmake' 'git' 'gtest' 'rapidjson')
14 source=("$pkgname-$pkgver.tar.gz::https://github.com/Ultimaker/${pkgname}/archive/${pkgver}.tar.gz")
15 sha512sums=('224379a40e26ae0026a3849d582353e49edf99520401e1fef56c9504638c68c62cfe394dab0eb40e4a447bfe0bfa506a880512e84fd6057a839b6384087c46d0')
18 build() {
19   cd CuraEngine-${pkgver}
20   mkdir -p build
21   cd build
22     
23    cmake .. \
24      -DCMAKE_INSTALL_PREFIX=/usr \
25      -DBUILD_TESTS=ON \
26      -DUSE_SYSTEM_LIBS=ON \
27      -DCMAKE_BUILD_TYPE='None'
29   make
32 check() {
33   cd CuraEngine-${pkgver}/build
34   # This test fails in when instance->readMeshGroupMessage(mesh_message) is
35   # called in the buildchroot but not outside
36   ARGS="-E ArcusCommunicationPrivateTest" make test
39 package() {
40   cd CuraEngine-${pkgver}/build
41   make DESTDIR="${pkgdir}" install
44 # vim:set ts=2 sw=2 et: