Install manpage to correct location

Index: src/CMakeLists.txt
--- src/CMakeLists.txt.orig
+++ src/CMakeLists.txt
@@ -362,7 +362,7 @@ if (UNIX)
 
     # Install man pages
     configure_file(${CMAKE_SOURCE_DIR}/data/man/man1/flameshot.1
-            ${CMAKE_CURRENT_BINARY_DIR}/share/man/man1/flameshot.1 COPYONLY)
+            ${CMAKE_CURRENT_BINARY_DIR}/man/man1/flameshot.1 COPYONLY)
 
     # Install Icons
     configure_file(${CMAKE_SOURCE_DIR}/data/img/hicolor/48x48/apps/org.flameshot.Flameshot.png
@@ -385,6 +385,7 @@ if (UNIX)
             ${CMAKE_CURRENT_BINARY_DIR}/share/icons/hicolor/scalable/apps/flameshot.svg COPYONLY)
 
     # Install assets
+    install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/man/ DESTINATION ${CMAKE_INSTALL_PREFIX}/man)
     install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/share/ DESTINATION ${CMAKE_INSTALL_DATAROOTDIR})
 
     # Install Translations
