diskmonitor/diskmonitor-installdirs.patch

13 lines
592 B
Diff

--- app/CMakeLists.txt.orig 2015-04-11 00:09:29.086470863 +0200
+++ app/CMakeLists.txt 2015-04-11 00:09:29.108470874 +0200
@@ -34,7 +34,7 @@
KF5::XmlGui
)
-install(TARGETS diskmonitor ${INSTALL_TARGETS_DEFAULT_ARGS} )
-install(FILES icon.svg RENAME diskmonitor.svg DESTINATION "${CMAKE_INSTALL_PREFIX}/share/icons/" )
+install(TARGETS diskmonitor DESTINATION "${SBIN_INSTALL_DIR}" )
+install(FILES icon.svg RENAME diskmonitor.svg DESTINATION "${ICON_INSTALL_DIR}/hicolor/scalable/apps/" )
install(FILES diskmonitor.desktop DESTINATION "${CMAKE_INSTALL_PREFIX}/share/applications/" )