gnu: tree: Update to 2.0.4.

* gnu/packages/admin.scm (tree): Update to 2.0.4.
[arguments]: Add phase to fix the version string in the man page.
This commit is contained in:
Efraim Flashner 2022-09-20 13:57:14 +03:00
parent 5a9e3b7c39
commit 00537ec17d
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -2506,20 +2506,24 @@ (define-public detox
(define-public tree
(package
(name "tree")
(version "2.0.3")
(version "2.0.4")
(source (origin
(method url-fetch)
(uri (string-append
"http://mama.indstate.edu/users/ice/tree/src/tree-"
version ".tgz"))
(sha256
(base32 "079vda37d5i3nfx12wx81z6r6bxynv2jww1z1hjziiwxbxxyf55s"))))
(base32 "0x7s9wxvf83fw4qah16kapswl2277pybw3d514zrlms9g0cr5smh"))))
(build-system gnu-build-system)
(arguments
(list
#:phases
#~(modify-phases %standard-phases
(delete 'configure)) ; No configure script.
(delete 'configure) ; No configure script.
(add-after 'unpack 'fix-manpage-version
(lambda _
(substitute* "doc/tree.1"
(("Tree 2\\.0\\.0") (string-append "Tree " #$version))))))
#:tests? #f ; No check target.
#:make-flags
#~(list (string-append "PREFIX=" #$output)