me
/
guix
Archived
1
0
Fork 0

gnu: cowsay: Update to 3.7.0.

* gnu/packages/games.scm (cowsay): Update to 3.7.0.
[arguments]: Convert to using G-expressions.
Adjust to new upstream build system.
master
Tobias Geerinckx-Rice 2022-05-22 02:00:01 +02:00
parent 182956b99d
commit b38069a4c9
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 24 additions and 24 deletions

View File

@ -1062,34 +1062,34 @@ more. This package does @emph{not} provide the game assets.")
license:bsd-3)))) ; CorsixTH/Src/random.c license:bsd-3)))) ; CorsixTH/Src/random.c
(define-public cowsay (define-public cowsay
;; This is a continuation of Tony Monroe's now-unmaintained original, that
;; aims to become the canonical modern fork. We'll see. What it gives
;; us today is a bunch of fixes that other distros shipped as patches.
(package (package
(name "cowsay") (name "cowsay")
(version "3.04") (version "3.7.0")
(source (origin (source
(method git-fetch) (origin
(uri (git-reference (method git-fetch)
(url "https://github.com/tnalpgge/rank-amateur-cowsay") (uri (git-reference
(commit (string-append name "-" version)))) (url "https://github.com/cowsay-org/cowsay")
(file-name (git-file-name name version)) (commit (string-append "v" version))))
(sha256 (file-name (git-file-name name version))
(base32 (sha256
"06455kq37hvq1xb7adyiwrx0djs50arsxvjgixyxks16lm1rlc7n")))) (base32 "0yrgwwacrhsgpyp14c3imkd4bb9b4i68q4df9cq1i1fh4fc2nn5p"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:phases (list #:make-flags
(modify-phases %standard-phases #~(list (string-append "prefix=" #$output))
(delete 'configure) ; no configure script #:phases
(delete 'build) ; nothing to be built #~(modify-phases %standard-phases
(replace 'install (delete 'configure) ; no configure script
(lambda* (#:key outputs #:allow-other-keys) (delete 'check)
(invoke "sh" "install.sh" (add-after 'install 'check
(assoc-ref outputs "out")))) (lambda* (#:key outputs #:allow-other-keys)
(delete 'check) (invoke (string-append (assoc-ref outputs "out")
(add-after 'install 'check "/bin/cowsay")
(lambda* (#:key outputs #:allow-other-keys) "We're done!"))))))
(invoke (string-append (assoc-ref outputs "out")
"/bin/cowsay")
"We're done!"))))))
(inputs (inputs
(list perl)) (list perl))
(home-page (string-append "https://web.archive.org/web/20071026043648/" (home-page (string-append "https://web.archive.org/web/20071026043648/"