Date: Sunday, March 11, 2018 @ 20:35:43
  Author: jelle
Revision: 306246

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   93 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 47 insertions(+), 46 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2018-03-11 20:35:16 UTC (rev 306245)
+++ PKGBUILD    2018-03-11 20:35:43 UTC (rev 306246)
@@ -1,46 +0,0 @@
-# Maintainer: Jelle van der Waa <je...@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"
-}

Copied: cura/repos/community-x86_64/PKGBUILD (from rev 306245, 
cura/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2018-03-11 20:35:43 UTC (rev 306246)
@@ -0,0 +1,47 @@
+# Maintainer: Jelle van der Waa <je...@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"
+}

Reply via email to