[arch-commits] Commit in curaengine/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Jelle van der Waa jelle at archlinux.org
Thu Oct 17 18:08:08 UTC 2019


    Date: Thursday, October 17, 2019 @ 18:08:06
  Author: jelle
Revision: 516513

archrelease: copy trunk to staging-x86_64

Added:
  curaengine/repos/staging-x86_64/
  curaengine/repos/staging-x86_64/PKGBUILD
    (from rev 516512, curaengine/trunk/PKGBUILD)

----------+
 PKGBUILD |   44 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)

Copied: curaengine/repos/staging-x86_64/PKGBUILD (from rev 516512, curaengine/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2019-10-17 18:08:06 UTC (rev 516513)
@@ -0,0 +1,44 @@
+# Maintainer: Jelle van der Waa <jelle at 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:



More information about the arch-commits mailing list