OSDN Git Service

disable installation of bootstrapped Katie
authorIvailo Monev <xakepa10@gmail.com>
Tue, 3 May 2016 17:01:32 +0000 (17:01 +0000)
committerIvailo Monev <xakepa10@gmail.com>
Tue, 3 May 2016 17:01:32 +0000 (17:01 +0000)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
cmake/modules/KatieBuildMacros.cmake
package/archlinux-mingw/PKGBUILD

index 91961ae..52c1acf 100644 (file)
@@ -9,6 +9,7 @@ if(CMAKE_CROSSCOMPILING)
         GIT_REPOSITORY https://github.com/fluxer/katie
         SOURCE_DIR ${CMAKE_BINARY_DIR}/external_katie
         BUILD_IN_SOURCE 1
+        INSTALL_COMMAND "" # disable installation
         UPDATE_DISCONNECTED 1 # it always fails
         CMAKE_ARGS -DKATIE_BOOTSTRAP=TRUE -Wno-dev
     )
index 2b773b5..c8f394f 100644 (file)
@@ -44,8 +44,4 @@ package() {
 
     install -vDm644 ../katie/LGPL_EXCEPTION.txt \
         "${pkgdir}/usr/share/licenses/mingw-w64-katie-git/LGPL_EXCEPTION.txt"
-
-    # bootstrap files, they should not be installed and this should be fixed
-    # in Katie itself
-    rm -rf "${pkgdir}/usr/local" "${pkgdir}/usr/share"
 }