File k9copy-installdirs.patch of Package k9copy
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -568,7 +568,11 @@ install(TARGETS k9xineplayer DESTINATION
install( FILES k9copy.desktop k9copy_assistant.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
#install( FILES k9copy.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
+if(QT5_BUILD)
+install( FILES k9copyui.rc DESTINATION ${KXMLGUI_INSTALL_DIR}/k9copy )
+else()
install( FILES k9copyui.rc DESTINATION ${DATA_INSTALL_DIR}/k9copy )
+endif(QT5_BUILD)
install(FILES k9copy_open.desktop DESTINATION ${DATA_INSTALL_DIR}/solid/actions)
install(FILES k9copy_assistant_open.desktop DESTINATION ${DATA_INSTALL_DIR}/solid/actions)