[arch-commits] Commit in curaengine/repos (2 files)
Jelle van der Waa
jelle at archlinux.org
Sun Mar 3 16:08:58 UTC 2019
Date: Sunday, March 3, 2019 @ 16:08:58
Author: jelle
Revision: 437475
archrelease: copy trunk to community-staging-x86_64
Added:
curaengine/repos/community-staging-x86_64/
curaengine/repos/community-staging-x86_64/PKGBUILD
(from rev 437474, curaengine/trunk/PKGBUILD)
----------+
PKGBUILD | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
Copied: curaengine/repos/community-staging-x86_64/PKGBUILD (from rev 437474, curaengine/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2019-03-03 16:08:58 UTC (rev 437475)
@@ -0,0 +1,49 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+# Contributor: Grey Christoforo <first name [at] last name [dot] net>
+
+pkgname=curaengine
+pkgver=3.6.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')
+# 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"
+ "fix_mocksocket_tests.patch::https://github.com/Ultimaker/CuraEngine/commit/7349c981135f6460640c23527f02dea650304467.patch")
+sha512sums=('340dad4c697fb0d7b633091715a904ae7df8973626e217ae2528d0121723c07a6cf0bbc740b9ad9980f3b288fa690c9c3ee43d90914264855dace007bbb334c8'
+ '72d424cb96db26e7e4170d2e208f3dbbabbea19e5e7c6a02b53ef47eddbcbb4dc20d045b2065e91acd8dc5f481345a9a3b5568781db9445d3af697555aba847e')
+
+prepare() {
+ cd CuraEngine-${pkgver}
+ patch -Np1 -i $srcdir/fix_mocksocket_tests.patch
+}
+
+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