mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: latex2html: Update to 2022.2, use new package style.
* gnu/packages/documentation.scm (latex2html): Update to 2022.2. [arguments]: Use G-expressions. Remove trailing #t. Use #$output instead of assoc-ref. Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
parent
bc61a788b3
commit
a5c422f958
1 changed files with 19 additions and 22 deletions
|
@ -66,7 +66,7 @@ (define-module (gnu packages documentation)
|
|||
(define-public latex2html
|
||||
(package
|
||||
(name "latex2html")
|
||||
(version "2020.2")
|
||||
(version "2022.2")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
|
@ -76,29 +76,26 @@ (define-public latex2html
|
|||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "1icyl6kl60wh7cavprgbd8q6lpjwr7wn24m34kpiif7ahknhcbcm"))))
|
||||
(base32 "1z71anjzxy5jsdlaqba4w9spncc6iycldarnr2z1dq8xmk6yhpjn"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(list #:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch-configure
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(substitute* "configure"
|
||||
(("/usr/local")
|
||||
(assoc-ref outputs "out"))
|
||||
#$output)
|
||||
(("\\$\\{CONFIG_SHELL-/bin/sh\\}")
|
||||
(which "bash")))
|
||||
#t))
|
||||
(which "bash")))))
|
||||
(replace 'configure
|
||||
(lambda _
|
||||
(invoke "./configure")
|
||||
#t))
|
||||
(invoke "./configure")))
|
||||
(add-after 'configure 'patch-cfgcache
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(substitute* "cfgcache.pm"
|
||||
(("/usr/local")
|
||||
(assoc-ref outputs "out")))
|
||||
#t)))))
|
||||
#$output)))))))
|
||||
(inputs
|
||||
(list perl))
|
||||
(synopsis "LaTeX documents to HTML")
|
||||
|
|
Loading…
Reference in a new issue