Skip to content
Snippets Groups Projects
Unverified Commit d5047266 authored by Efraim Flashner's avatar Efraim Flashner
Browse files

gnu: scrot: Use 'modify-phases'.

* gnu/packages/xdisorg.scm (scrot)[arguments]: Use 'modify-phases'.
parent c5d15d41
No related branches found
No related tags found
No related merge requests found
......@@ -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)))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment