gnu: cowsay: Use INVOKE.

* gnu/packages/games.scm (cowsay)[arguments]: Use INVOKE in build phases.
master
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
1 changed files with 5 additions and 5 deletions

View File

@ -338,14 +338,14 @@ and against the others like yourself, that want what you have.")
(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/"