How do I install self built Nextcloud desktop in local directory?

Hi all,

I’m on Fedora, and have difficulties with the current nextcloud-client version in the repositories. Therefore I tried to build my own version of the current release candidate. But now I get the following error during installation:

-- Set runtime path of "/home/jan/nextcloud-desktop-client/lib64/libnextclouddolphinpluginhelper.so" to "/home/jan/nextcloud-desktop-client/lib64"
-- Installing: /usr/lib64/qt5/plugins/kf5/overlayicon/nextclouddolphinoverlayplugin.so
CMake Error at shell_integration/dolphin/cmake_install.cmake:78 (file):
  file INSTALL cannot copy file
  "/home/jan/Projects/nextcloud-desktop-test/desktop/build/shell_integration/dolphin/nextclouddolphinoverlayplugin.so"
  to
  "/usr/lib64/qt5/plugins/kf5/overlayicon/nextclouddolphinoverlayplugin.so".
Call Stack (most recent call first):
  shell_integration/cmake_install.cmake:44 (include)
  cmake_install.cmake:59 (include)

Can you provide me help on installing nextcloud-client locally, and not system wide?