gnu: cowsay: Use INVOKE.

* gnu/packages/games.scm (cowsay)[arguments]: Use INVOKE in build phases.
This commit is contained in:
Ricardo Wurmus 2019-01-26 14:57:29 +01:00
parent 4665d8c943
commit 482bdf2522
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -338,14 +338,14 @@ (define-public cowsay
(delete 'build) ; nothing to be built
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(zero? (system* "sh" "install.sh"
(assoc-ref outputs "out")))))
(invoke "sh" "install.sh"
(assoc-ref outputs "out"))))
(delete 'check)
(add-after 'install 'check
(lambda* (#:key outputs #:allow-other-keys)
(zero? (system* (string-append (assoc-ref outputs "out")
"/bin/cowsay")
"We're done!")))))))
(invoke (string-append (assoc-ref outputs "out")
"/bin/cowsay")
"We're done!"))))))
(inputs
`(("perl" ,perl)))
(home-page (string-append "https://web.archive.org/web/20071026043648/"