New package: cura-2.7.0

Closes: #7676 [via git-merge-pr]
This commit is contained in:
Rui Abreu Ferreira 2017-06-28 16:43:38 +01:00 committed by Michael Aldridge
parent 76ed416f26
commit ed99e1b4b9
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,16 @@
diff --git CMakeLists.txt CMakeLists.txt
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -46,10 +46,10 @@ if(NOT APPLE AND NOT WIN32)
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
RENAME cura)
install(DIRECTORY cura
- DESTINATION lib/python${PYTHON_VERSION_MAJOR}/dist-packages
+ DESTINATION lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages
FILES_MATCHING PATTERN *.py)
install(FILES ${CMAKE_BINARY_DIR}/CuraVersion.py
- DESTINATION lib/python${PYTHON_VERSION_MAJOR}/dist-packages/cura)
+ DESTINATION lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages/cura)
install(FILES ${CMAKE_BINARY_DIR}/cura.desktop
DESTINATION ${CMAKE_INSTALL_DATADIR}/applications)
install(FILES cura.appdata.xml

16
srcpkgs/cura/template Normal file
View File

@ -0,0 +1,16 @@
# Template file for 'cura'
pkgname=cura
version=2.7.0
revision=1
python_version=3
build_style=cmake
wrksrc="Cura-${version}"
configure_args="-DCURA_VERSION:STRING=${version}"
makedepends="libArcus-devel libArcus-python3 python3 Uranium"
depends="Uranium python3-pyserial cura-engine cura-fdm-materials python3-zeroconf"
short_desc="3D printer / slicing GUI"
maintainer="Karl Nilsson <karl.robert.nilsson@gmail.com>"
license="AGPL-3"
homepage="https://github.com/Ultimaker/Cura"
distfiles="https://github.com/Ultimaker/Cura/archive/${version}.tar.gz"
checksum=8e73cad45676e75ac61e4091d858bdd3ef9f0277ed66b1775f14dc5734cf42f7