mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: scrot: Use 'modify-phases'.
* gnu/packages/xdisorg.scm (scrot)[arguments]: Use 'modify-phases'.
This commit is contained in:
parent
c5d15d41b7
commit
d5047266a9
1 changed files with 10 additions and 10 deletions
|
@ -399,16 +399,16 @@ (define-public scrot
|
|||
(list (string-append "--mandir="
|
||||
(assoc-ref %outputs "out")
|
||||
"/share/man"))
|
||||
#:phases (alist-replace
|
||||
'install
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(doc (string-append out "/share/doc/scrot")))
|
||||
(mkdir-p doc)
|
||||
(zero?
|
||||
(system* "make" "install"
|
||||
(string-append "docsdir=" doc)))))
|
||||
%standard-phases)))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'install
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(doc (string-append out "/share/doc/scrot")))
|
||||
(mkdir-p doc)
|
||||
(zero?
|
||||
(system* "make" "install"
|
||||
(string-append "docsdir=" doc)))))))))
|
||||
(inputs
|
||||
`(("libx11" ,libx11)
|
||||
("giblib" ,giblib)))
|
||||
|
|
Loading…
Reference in a new issue