diff options
Diffstat (limited to 'games-engines/fheroes2/files/fheroes2-1.0.4-scripts.patch')
-rw-r--r-- | games-engines/fheroes2/files/fheroes2-1.0.4-scripts.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/games-engines/fheroes2/files/fheroes2-1.0.4-scripts.patch b/games-engines/fheroes2/files/fheroes2-1.0.4-scripts.patch new file mode 100644 index 000000000000..c5675fdc0a6f --- /dev/null +++ b/games-engines/fheroes2/files/fheroes2-1.0.4-scripts.patch @@ -0,0 +1,19 @@ +Install the data-exporting scripts to a better place than docs + +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -182,12 +182,12 @@ if(NOT MACOS_APP_BUNDLE) + install( + FILES script/demo/download_demo_version.sh + PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ GROUP_EXECUTE GROUP_READ WORLD_EXECUTE WORLD_READ +- DESTINATION ${CMAKE_INSTALL_DOCDIR}/demo ++ DESTINATION ${FHEROES2_DATA} + ) + install( + FILES script/homm2/extract_homm2_resources.sh + PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ GROUP_EXECUTE GROUP_READ WORLD_EXECUTE WORLD_READ +- DESTINATION ${CMAKE_INSTALL_DOCDIR}/homm2 ++ DESTINATION ${FHEROES2_DATA} + ) + install( + FILES script/packaging/common/fheroes2.appdata.xml |