[arch-commits] Commit in cura/repos/community-any (PKGBUILD PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Sat Mar 28 22:58:46 UTC 2020
Date: Saturday, March 28, 2020 @ 22:58:45
Author: jelle
Revision: 605634
archrelease: copy trunk to community-any
Added:
cura/repos/community-any/PKGBUILD
(from rev 605633, cura/trunk/PKGBUILD)
Deleted:
cura/repos/community-any/PKGBUILD
----------+
PKGBUILD | 102 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 51 insertions(+), 51 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-28 22:58:39 UTC (rev 605633)
+++ PKGBUILD 2020-03-28 22:58:45 UTC (rev 605634)
@@ -1,51 +0,0 @@
-# Maintainer: Jelle van der Waa <jelle at archlinux.org>
-# Contributor: Grey Christoforo <my first name [at] my last name [dot] net>
-
-pkgname=cura
-pkgver=4.4.1
-pkgrel=1
-pkgdesc="A software solution for 3D printing aimed at RepRaps and the Ultimaker."
-depends=('python-pyqt5' 'qt5-svg' 'python-scipy' 'python-pyserial' 'python-numpy' 'uranium' 'python-requests'
- 'curaengine' 'cura-binary-data' 'cura-resources-materials' 'libsavitar' 'qt5-graphicaleffects'
- 'python-certifi')
-makedepends=('qt5-tools' 'cmake')
-optdepends=('python-zeroconf: network printing support')
-provides=('cura')
-url="https://ultimaker.com/en/products/cura-software"
-license=('LGPL')
-arch=('any')
-source=($pkgname-$pkgver.tar.gz::https://github.com/Ultimaker/Cura/archive/${pkgver}.tar.gz)
-sha512sums=('9171ef2d23507aed76d00c1537f4e08837453bf40a9940b6f95be047d0e45685c48322a14d0c622be51724baa8bf6073a0b4f72ffcc27f9f86835b37b0620eae')
-
-# Build order
-# arcus -> uranium -> curaengine -> libsavitar ->
-
-prepare(){
- cd Cura-${pkgver}
- sed -i 's,/dist-packages,.${PYTHON_VERSION_MINOR}/site-packages,g' CMakeLists.txt
-}
-
-build(){
- cd Cura-${pkgver}
- mkdir -p build
- cd build
- cmake .. \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release \
- -DURANIUM_SCRIPTS_DIR=/usr/share/uranium/scripts \
- -DCURA_VERSION=$pkgver \
- -DCURA_SDK_VERSION=6.0.0 -DCURA_CLOUD_API_VERSION=1
-
- make
-}
-
-package(){
- cd Cura-${pkgver}/build
- make DESTDIR="${pkgdir}" install
-
- # make sure cura can find uranium plugins:
- ln -s /usr/lib/uranium/plugins/* "${pkgdir}/usr/lib/cura/plugins/."
-
- # don't ever send any user or print info through the internet to Ultimaker
- rm -rf "${pkgdir}/usr/lib/cura/plugins/SliceInfoPlugin"
-}
Copied: cura/repos/community-any/PKGBUILD (from rev 605633, cura/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-28 22:58:45 UTC (rev 605634)
@@ -0,0 +1,51 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+# Contributor: Grey Christoforo <my first name [at] my last name [dot] net>
+
+pkgname=cura
+pkgver=4.5.0
+pkgrel=1
+pkgdesc="A software solution for 3D printing aimed at RepRaps and the Ultimaker."
+depends=('python-pyqt5' 'qt5-svg' 'python-scipy' 'python-pyserial' 'python-numpy' 'uranium' 'python-requests'
+ 'curaengine' 'cura-binary-data' 'cura-resources-materials' 'libsavitar' 'qt5-graphicaleffects'
+ 'python-certifi')
+makedepends=('qt5-tools' 'cmake')
+optdepends=('python-zeroconf: network printing support')
+provides=('cura')
+url="https://ultimaker.com/en/products/cura-software"
+license=('LGPL')
+arch=('any')
+source=($pkgname-$pkgver.tar.gz::https://github.com/Ultimaker/Cura/archive/${pkgver}.tar.gz)
+sha512sums=('a42f685b18dfe712ae04e6778e5a986fa64730dcbd90383d604b090c17f1e555c3e22a5b333568abd8b8a48f568dffeeccfa04c273485edc3b42298229bf1b6a')
+
+# Build order
+# arcus -> uranium -> curaengine -> libsavitar ->
+
+prepare(){
+ cd Cura-${pkgver}
+ sed -i 's,/dist-packages,.${PYTHON_VERSION_MINOR}/site-packages,g' CMakeLists.txt
+}
+
+build(){
+ cd Cura-${pkgver}
+ mkdir -p build
+ cd build
+ cmake .. \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DURANIUM_SCRIPTS_DIR=/usr/share/uranium/scripts \
+ -DCURA_VERSION=$pkgver \
+ -DCURA_SDK_VERSION=6.0.0 -DCURA_CLOUD_API_VERSION=1
+
+ make
+}
+
+package(){
+ cd Cura-${pkgver}/build
+ make DESTDIR="${pkgdir}" install
+
+ # make sure cura can find uranium plugins:
+ ln -s /usr/lib/uranium/plugins/* "${pkgdir}/usr/lib/cura/plugins/."
+
+ # don't ever send any user or print info through the internet to Ultimaker
+ rm -rf "${pkgdir}/usr/lib/cura/plugins/SliceInfoPlugin"
+}
More information about the arch-commits
mailing list