You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/games-rpg/sumwars/files/sumwars-0.5.6-build.patch

21 lines
830 B

--- CMakeLists.txt
+++ CMakeLists.txt
@@ -496,7 +496,7 @@
# RENAME "sumwars.png")
#endif()
-install(FILES "AUTHORS" "COPYING" "README" # we intentionally avoid installing "INSTALL" here
+install(FILES "AUTHORS" "README" # we intentionally avoid installing "INSTALL" here
DESTINATION "${SUMWARS_DOC_DIR}")
install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/share/data"
@@ -516,7 +516,7 @@
SEPARATE_ARGUMENTS(SUMWARS_LANGUAGES)
foreach(i ${SUMWARS_LANGUAGES})
install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/share/translation/${i}"
- DESTINATION "${SUMWARS_SHARE_DIR}"
+ DESTINATION "${SUMWARS_SHARE_DIR}/translation"
FILES_MATCHING PATTERN "*.mo"
PATTERN ".hg" EXCLUDE
PATTERN "xmlgettext" EXCLUDE) # both pattern excludes are there to prevent the directories from being created