diff options
-rw-r--r-- | Cura-CMakeLists.patch | 11 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 1 insertions, 17 deletions
diff --git a/Cura-CMakeLists.patch b/Cura-CMakeLists.patch deleted file mode 100644 index c5ad2afebd1a..000000000000 --- a/Cura-CMakeLists.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- Cura/CMakeLists.txt 2015-06-22 09:16:37.262735692 -0400 -+++ Cura/CmakeLists.txt.new 2015-06-22 09:25:31.044757891 -0400 -@@ -2,7 +2,7 @@ - project(cura) - cmake_minimum_required(VERSION 2.8.12) - --set(URANIUM_SCRIPTS_DIR "${CMAKE_SOURCE_DIR}/../uranium/scripts" CACHE DIRECTORY "The location of the scripts directory of the Uranium repository") -+set(URANIUM_SCRIPTS_DIR "${CMAKE_SOURCE_DIR}/../Uranium/scripts" CACHE DIRECTORY "The location of the scripts directory of the Uranium repository") - - if(NOT ${URANIUM_SCRIPTS_DIR} STREQUAL "") - # Extract Strings @@ -25,11 +25,6 @@ pkgver() { git describe --tags | sed 's/-/./g' } -prepare() { - cd "$srcdir" - patch -p0 <Cura-CMakeLists.patch -} - build() { mkdir -p CuraEngine/build cd CuraEngine/build @@ -43,7 +38,7 @@ build() { mkdir -p ../../Cura/build cd ../../Cura/build - cmake -DCMAKE_INSTALL_PREFIX=/usr .. + cmake -DCMAKE_INSTALL_PREFIX=/usr -DURANIUM_SCRIPTS_DIR="$srcdir/Uranium/scripts" .. make } |