gnu: xdg-desktop-portal-wlr: Install missing documentation.

* gnu/packages/freedesktop.scm (xdg-desktop-portal-wlr)[arguments]: Add a new
'install-documentation phase.
This commit is contained in:
Tobias Geerinckx-Rice 2022-12-04 01:00:00 +01:00
parent 0ffa501f2b
commit c8316c1e47
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -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