[arch-commits] Commit in cura/repos/community-x86_64 (PKGBUILD PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Tue Jun 5 18:50:53 UTC 2018
Date: Tuesday, June 5, 2018 @ 18:50:53
Author: jelle
Revision: 340602
archrelease: copy trunk to community-x86_64
Added:
cura/repos/community-x86_64/PKGBUILD
(from rev 340601, cura/trunk/PKGBUILD)
Deleted:
cura/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 97 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 50 insertions(+), 47 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-06-05 18:50:42 UTC (rev 340601)
+++ PKGBUILD 2018-06-05 18:50:53 UTC (rev 340602)
@@ -1,47 +0,0 @@
-# Maintainer: Jelle van der Waa <jelle at archlinux.org>
-# Contributo: Grey Christoforo <my first name [at] my last name [dot] net>
-
-pkgname=cura
-pkgver=3.2.1
-pkgrel=2
-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'
- 'curaengine' 'cura-binary-data' 'cura-resources-materials' 'libsavitar')
-makedepends=('qt5-tools' 'cmake')
-optdepends=('python-zeroconf: network printing support')
-provides=('cura')
-url="https://ultimaker.com/en/products/cura-software"
-license=('AGPL')
-arch=('x86_64')
-source=($pkgname-$pkgver.tar.gz::https://github.com/Ultimaker/Cura/archive/${pkgver}.tar.gz)
-sha1sums=('695756c7529729744872d15527e3f5419ec4c5e4')
-
-prepare(){
- cd Cura-${pkgver}
- sed -i 's,DESTINATION lib/python${PYTHON_VERSION_MAJOR}/dist-packages,DESTINATION lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages,g' CMakeLists.txt
- sed -i 's,DESTINATION lib/python${PYTHON_VERSION_MAJOR}/dist-packages/cura),DESTINATION lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages/cura),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
-
- 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-x86_64/PKGBUILD (from rev 340601, cura/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-06-05 18:50:53 UTC (rev 340602)
@@ -0,0 +1,50 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+# Contributor: Grey Christoforo <my first name [at] my last name [dot] net>
+
+pkgname=cura
+pkgver=3.3.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'
+ 'curaengine' 'cura-binary-data' 'cura-resources-materials' 'libsavitar')
+makedepends=('qt5-tools' 'cmake')
+optdepends=('python-zeroconf: network printing support')
+provides=('cura')
+url="https://ultimaker.com/en/products/cura-software"
+license=('AGPL')
+arch=('x86_64')
+source=($pkgname-$pkgver.tar.gz::https://github.com/Ultimaker/Cura/archive/${pkgver}.tar.gz)
+sha1sums=('4953ea7359d2dd9cfac6a860c1b18802dd22e433')
+
+# Build order
+# arcus -> uranium -> curaengine -> libsavitar ->
+
+prepare(){
+ cd Cura-${pkgver}
+ sed -i 's,DESTINATION lib/python${PYTHON_VERSION_MAJOR}/dist-packages,DESTINATION lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages,g' CMakeLists.txt
+ sed -i 's,DESTINATION lib/python${PYTHON_VERSION_MAJOR}/dist-packages/cura),DESTINATION lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages/cura),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
+
+ 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