gnu: psutils: Use 'modify-phases'.

* gnu/packages/ghostscript.scm (psutils)[arguments]: Use 'modify-phases'
syntax.
This commit is contained in:
Efraim Flashner 2017-10-18 17:01:25 +03:00
parent 8c88e0ba8c
commit 530d9e1555
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 17 additions and 17 deletions

View File

@ -100,8 +100,8 @@ paper size.")
(arguments (arguments
`(#:tests? #f ; none provided `(#:tests? #f ; none provided
#:phases #:phases
(alist-replace (modify-phases %standard-phases
'configure (replace 'configure
(lambda* (#:key inputs outputs #:allow-other-keys #:rest args) (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
(let ((perl (assoc-ref inputs "perl")) (let ((perl (assoc-ref inputs "perl"))
(out (assoc-ref outputs "out"))) (out (assoc-ref outputs "out")))
@ -115,8 +115,8 @@ paper size.")
(("-mkdir") "mkdir -p")) (("-mkdir") "mkdir -p"))
;; drop installation of non-free files ;; drop installation of non-free files
(substitute* "Makefile" (substitute* "Makefile"
((" install.include") "")))) ((" install.include") "")))
%standard-phases))) #t)))))
(synopsis "Collection of utilities for manipulating PostScript documents") (synopsis "Collection of utilities for manipulating PostScript documents")
(description (description
"PSUtils is a collection of utilities for manipulating PostScript "PSUtils is a collection of utilities for manipulating PostScript