gnu: butt: Use G-expressions.
* gnu/packages/audio.scm (butt)[arguments]: Rewrite as G-expressions.
This commit is contained in:
parent
cb8e483c78
commit
027c21dcf7
1 changed files with 9 additions and 9 deletions
|
@ -5466,15 +5466,15 @@ (define-public butt
|
|||
((".*zica.*") "")))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'install 'install-documentation
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(manual (assoc-ref inputs "manual"))
|
||||
(doc (string-append out "/share/doc/" ,name "-" ,version)))
|
||||
(install-file "README" doc)
|
||||
(copy-file manual (string-append doc "/butt-manual.pdf"))))))))
|
||||
(list #:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'install 'install-documentation
|
||||
(lambda _
|
||||
(let ((doc (string-append #$output "/share/doc/"
|
||||
#$name "-" #$version)))
|
||||
(install-file "README" doc)
|
||||
(copy-file #$(this-package-native-input "manual")
|
||||
(string-append doc "/butt-manual.pdf"))))))))
|
||||
(native-inputs
|
||||
`(("pkg-config" ,pkg-config)
|
||||
("manual"
|
||||
|
|
Loading…
Reference in a new issue