[arch-commits] Commit in curaengine/repos (2 files)
Eli Schwartz
eschwartz at archlinux.org
Thu Jul 26 08:42:08 UTC 2018
Date: Thursday, July 26, 2018 @ 08:42:08
Author: eschwartz
Revision: 363487
archrelease: copy trunk to community-staging-x86_64
Added:
curaengine/repos/community-staging-x86_64/
curaengine/repos/community-staging-x86_64/PKGBUILD
(from rev 363486, curaengine/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: curaengine/repos/community-staging-x86_64/PKGBUILD (from rev 363486, curaengine/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2018-07-26 08:42:08 UTC (rev 363487)
@@ -0,0 +1,36 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+# Contributor: Grey Christoforo <first name [at] last name [dot] net>
+
+pkgname=curaengine
+pkgver=3.4.1
+pkgrel=2
+pkgdesc="Fast and robust 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
+makedepends=('cmake' 'git')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Ultimaker/${pkgname}/archive/${pkgver}.tar.gz")
+md5sums=('825f80f42da70efe6c889d8acb8f6afe')
+
+
+build() {
+ cd CuraEngine-${pkgver}
+ mkdir -p build
+ cd build
+
+ cmake .. \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release
+
+ make
+}
+
+package() {
+ cd CuraEngine-${pkgver}/build
+ make DESTDIR="${pkgdir}" install
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list