[arch-commits] Commit in cura/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Sunday, July 15, 2018 @ 13:52:13 Author: jelle Revision: 359541 archrelease: copy trunk to community-x86_64 Added: cura/repos/community-x86_64/PKGBUILD (from rev 359540, cura/trunk/PKGBUILD) Deleted: cura/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 100 ++--- 1 file changed, 50 insertions(+), 50 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-07-15 13:52:01 UTC (rev 359540) +++ PKGBUILD2018-07-15 13:52:13 UTC (rev 359541) @@ -1,50 +0,0 @@ -# Maintainer: Jelle van der Waa -# Contributor: Grey Christoforo - -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" -} Copied: cura/repos/community-x86_64/PKGBUILD (from rev 359540, cura/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-07-15 13:52:13 UTC (rev 359541) @@ -0,0 +1,50 @@ +# Maintainer: Jelle van der Waa +# Contributor: Grey Christoforo + +pkgname=cura +pkgver=3.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' + '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=('cc25df45e09fe48ad219f97d11fea12357dac8bf') + +# 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" +}
[arch-commits] Commit in cura/repos/community-x86_64 (PKGBUILD PKGBUILD)
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 === --- PKGBUILD2018-06-05 18:50:42 UTC (rev 340601) +++ PKGBUILD2018-06-05 18:50:53 UTC (rev 340602) @@ -1,47 +0,0 @@ -# Maintainer: Jelle van der Waa -# Contributo: Grey Christoforo - -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) +++ PKGBUILD2018-06-05 18:50:53 UTC (rev 340602) @@ -0,0 +1,50 @@ +# Maintainer: Jelle van der Waa +# Contributor: Grey Christoforo + +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" +}
[arch-commits] Commit in cura/repos/community-x86_64 (PKGBUILD PKGBUILD)
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 === --- PKGBUILD2018-03-11 20:35:16 UTC (rev 306245) +++ PKGBUILD2018-03-11 20:35:43 UTC (rev 306246) @@ -1,46 +0,0 @@ -# Maintainer: Jelle van der Waa-# Contributo: Grey Christoforo - -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) +++ PKGBUILD2018-03-11 20:35:43 UTC (rev 306246) @@ -0,0 +1,47 @@ +# Maintainer: Jelle van der Waa +# Contributo: Grey Christoforo + +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" +}
[arch-commits] Commit in cura/repos/community-x86_64 (PKGBUILD PKGBUILD)
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 === --- PKGBUILD2018-02-17 20:35:03 UTC (rev 296172) +++ PKGBUILD2018-02-17 20:35:06 UTC (rev 296173) @@ -1,45 +0,0 @@ -# Maintainer: Jelle van der Waa-# Contributo: Grey Christoforo - -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) +++ PKGBUILD2018-02-17 20:35:06 UTC (rev 296173) @@ -0,0 +1,46 @@ +# Maintainer: Jelle van der Waa +# Contributo: Grey Christoforo + +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" +}
[arch-commits] Commit in cura/repos/community-x86_64 (PKGBUILD PKGBUILD)
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 === --- PKGBUILD2017-12-19 20:24:30 UTC (rev 274926) +++ PKGBUILD2017-12-19 20:24:46 UTC (rev 274927) @@ -1,45 +0,0 @@ -# Maintainer: Jelle van der Waa-# Contributo: Grey Christoforo - -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) +++ PKGBUILD2017-12-19 20:24:46 UTC (rev 274927) @@ -0,0 +1,45 @@ +# Maintainer: Jelle van der Waa +# Contributo: Grey Christoforo + +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" +}