[arch-commits] Commit in cura/repos/community-x86_64 (PKGBUILD PKGBUILD)

Jelle van der Waa jelle at archlinux.org
Sat Feb 17 20:35:08 UTC 2018


    Date: Saturday, February 17, 2018 @ 20:35:06
  Author: jelle
Revision: 296173

archrelease: copy trunk to community-x86_64

Added:
  cura/repos/community-x86_64/PKGBUILD
    (from rev 296171, cura/trunk/PKGBUILD)
Deleted:
  cura/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   91 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 46 insertions(+), 45 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-02-17 20:35:03 UTC (rev 296172)
+++ PKGBUILD	2018-02-17 20:35:06 UTC (rev 296173)
@@ -1,45 +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.1.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' 'curaengine' 'cura-binary-data' 'cura-resources-materials')
-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=('cc81c11f72634ee7a8ee876b18454dc328e7ef02')
-
-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
-
-  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 296171, cura/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-02-17 20:35:06 UTC (rev 296173)
@@ -0,0 +1,46 @@
+# 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=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')
+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"
+}



More information about the arch-commits mailing list