[arch-commits] Commit in curaengine/repos (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Wed Dec 22 21:06:27 UTC 2021
Date: Wednesday, December 22, 2021 @ 21:06:26
Author: felixonmars
Revision: 1082905
archrelease: copy trunk to community-staging-x86_64
Added:
curaengine/repos/community-staging-x86_64/
curaengine/repos/community-staging-x86_64/PKGBUILD
(from rev 1082904, curaengine/trunk/PKGBUILD)
----------+
PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
Copied: curaengine/repos/community-staging-x86_64/PKGBUILD (from rev 1082904, curaengine/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2021-12-22 21:06:26 UTC (rev 1082905)
@@ -0,0 +1,42 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+# Contributor: Grey Christoforo <first name [at] last name [dot] net>
+
+pkgname=curaengine
+pkgver=4.11.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' 'polyclipping')
+checkdepends=('cppunit')
+makedepends=('cmake' 'git' 'gmock' 'gtest' 'rapidjson')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Ultimaker/${pkgname}/archive/${pkgver}.tar.gz")
+sha512sums=('3152bd0847d6977e2ee7afd57675cb5000a1824d50bbe442d6e67a0534b8f8b8858f8a71f545a8fabaaf2065b47acbd7de11c35591cf6e891bc6871ea84107c1')
+
+
+build() {
+ cd CuraEngine-${pkgver}
+ mkdir -p build
+ cd build
+
+ cmake .. \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_TESTS=ON \
+ -DUSE_SYSTEM_LIBS=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