packages: wm: Add an install-documentation phase to rivercarro

pull/3/head
Luis Guilherme Coelho 2024-03-09 22:28:40 -03:00
parent f537322ba4
commit a5d452860a
No known key found for this signature in database
GPG Key ID: 1F2E76ACE3F531C8
1 changed files with 6 additions and 1 deletions

View File

@ -35,7 +35,12 @@
(arguments
(list #:tests? #f
#:phases #~(modify-phases %standard-phases
(delete 'validate-runpath))))
(delete 'validate-runpath)
(add-after 'install 'install-documentation
(lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(man (string-append out "/share/man/man1")))
(install-file "doc/rivercarro.1" man)))))))
(native-inputs
(list pkg-config
wayland