Date: Tuesday, December 19, 2017 @ 20:24:46 Author: jelle Revision: 274927
archrelease: copy trunk to community-x86_64 Added: cura/repos/community-x86_64/PKGBUILD (from rev 274926, cura/trunk/PKGBUILD) Deleted: cura/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 90 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 45 insertions(+), 45 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2017-12-19 20:24:30 UTC (rev 274926) +++ PKGBUILD 2017-12-19 20:24:46 UTC (rev 274927) @@ -1,45 +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.0.3 -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=('i686' 'x86_64') -source=($pkgname-$pkgver.tar.gz::https://github.com/Ultimaker/Cura/archive/${pkgver}.tar.gz) -sha1sums=('c94499c928ca7c1333c565be5b691ad1b8e9fe32') - -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 274926, cura/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2017-12-19 20:24:46 UTC (rev 274927) @@ -0,0 +1,45 @@ +# Maintainer: Jelle van der Waa <je...@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" +}