~ruther/guix-local

21a258892981cde007cdf50f917fc34a85facfcc — Sughosha 1 year, 4 months ago 9fccb66
gnu: kpmcore: Fix polkit action path.

* gnu/packages/kde.scm (kpmcore)[arguments]<#:phases>: Replace
fix-cmake-install-directories with fix-polkit-action-path.

Change-Id: I2d230d78b1dbf423b431e14f290c372efa9c1a45
Signed-off-by: Zheng Junjie <z572@z572.online>
1 files changed, 4 insertions(+), 2 deletions(-)

M gnu/packages/kde.scm
M gnu/packages/kde.scm => gnu/packages/kde.scm +4 -2
@@ 1283,11 1283,13 @@ multi-floor indoor maps.")
     (list
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'fix-cmake-install-directories
          (add-after 'unpack 'fix-polkit-action-path
            (lambda _
              (substitute* "src/util/CMakeLists.txt"
                (("DESTINATION \\$\\{POLKITQT-1_POLICY_FILES_INSTALL_DIR\\}")
                 "DESTINATION share/polkit-1/actions")))))))
                 "DESTINATION share/polkit-1/actions"))
              (substitute* "src/backend/corebackend.cpp"
                  (("\\/usr") #$output)))))))
    (home-page "https://community.kde.org/Frameworks")
    (synopsis "Library for managing partitions")
    (description "Library for managing partitions.")