From c8316c1e47ce2ace5474cbcda03555cf915b4fce Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 4 Dec 2022 01:00:00 +0100 Subject: gnu: xdg-desktop-portal-wlr: Install missing documentation. * gnu/packages/freedesktop.scm (xdg-desktop-portal-wlr)[arguments]: Add a new 'install-documentation phase. --- gnu/packages/freedesktop.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'gnu/packages/freedesktop.scm') diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index 077d56ad3d..4a4bb18002 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -2759,7 +2759,12 @@ (define-public xdg-desktop-portal-wlr (string-append "execl(\"" sh "\", \"" sh "\""))) (substitute* "src/screencast/screencast.c" (("execvp\\(\"sh") - (string-append "execvp(\"" sh))))))))) + (string-append "execvp(\"" sh)))))) + (add-after 'install 'install-documentation + (lambda* (#:key outputs #:allow-other-keys) + (install-file "../source/README.md" + (string-append (assoc-ref outputs "out") + "/share/doc/" ,name))))))) (native-inputs (list cmake pkg-config)) (inputs (list elogind -- cgit v1.2.3