testing/curaengine: new aport

This commit is contained in:
Aiden Grossman 2021-02-10 10:45:41 -08:00 committed by Leo
parent 7e0b94cfbf
commit 9f0ded46e1

View File

@ -0,0 +1,25 @@
# Contributor: Aiden Grossman <agrossman154@yahoo.com>
# Maintainer: Aiden Grossman <agrossman154@yahoo.com>
pkgname=curaengine
_pkgname=CuraEngine
pkgver=4.8.0
pkgrel=0
pkgdesc="3D slicer engine"
url="https://github.com/Ultimaker/CuraEngine"
arch="all"
license="AGPL-3.0-or-later"
makedepends="protobuf-dev py3-sip-dev python3-dev cmake libarcus-dev"
options="!check" #no functioning test suite
source="https://github.com/Ultimaker/CuraEngine/archive/$pkgver/CuraEngine-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver/"
build() {
cmake -B ./build -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTS=ON .
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --build build --target install
}
sha512sums="be0d12cfe61932bf03dde61df8fb7f31cbd0aef6a44292130a7a67e318891f37db685722ba5d3cf66e88d4ff1de64ac86be5e494b750f8f7ff4b52d7976cb670 CuraEngine-4.8.0.tar.gz"