gnu: cowsay: Swap ‘build’ and ‘install’ phases.

* gnu/packages/games.scm (cowsay)[arguments]: Invoke ‘install.sh’ during the
‘install’ phase.  Delete the ‘build’ phase, as there's nothing to be built.
master
Tobias Geerinckx-Rice 2017-10-20 01:38:24 +02:00
parent 46ba5337c0
commit 6c0c175271
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 3 additions and 3 deletions

View File

@ -261,9 +261,9 @@ the others like yourself, that want what you have.")
(arguments (arguments
`(#:phases `(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(delete 'configure) (delete 'configure) ; no configure script
(delete 'install) (delete 'build) ; nothing to be built
(replace 'build (replace 'install
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(zero? (system* "sh" "install.sh" (zero? (system* "sh" "install.sh"
(assoc-ref outputs "out"))))) (assoc-ref outputs "out")))))