mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-10 13:19:40 -05:00
gnu: texlive-fontname: Simplify.
* gnu/packages/tex.scm (texlive-fontname): Implement with SIMPLE-TEXLIVE-PACKAGE.
This commit is contained in:
parent
cdc960922d
commit
14a87760fa
1 changed files with 7 additions and 24 deletions
|
@ -665,30 +665,13 @@ (define-public texlive-tex-fontinst-base
|
||||||
|
|
||||||
(define-public texlive-fontname
|
(define-public texlive-fontname
|
||||||
(package
|
(package
|
||||||
(name "texlive-fontname")
|
(inherit (simple-texlive-package
|
||||||
(version (number->string %texlive-revision))
|
"texlive-fontname"
|
||||||
(source (origin
|
(list "/doc/fonts/fontname/fontname.texi"
|
||||||
(method svn-fetch)
|
"/fonts/map/fontname/")
|
||||||
(uri (svn-reference
|
|
||||||
(url (string-append "svn://www.tug.org/texlive/tags/"
|
|
||||||
%texlive-tag "/Master/texmf-dist/"
|
|
||||||
"/fonts/map/fontname"))
|
|
||||||
(revision %texlive-revision)))
|
|
||||||
(file-name (string-append name "-" version "-checkout"))
|
|
||||||
(sha256
|
|
||||||
(base32
|
(base32
|
||||||
"05rbn7z30xawd3n6w7c3ijp2yc67ga220jgqmkla9pd9wx185rzq"))))
|
"0h5im5rnhycrrkd6z10f17m2caa8lv594wf482b68qjmnxfrqnxj")
|
||||||
(build-system trivial-build-system)
|
#:trivial? #t))
|
||||||
(arguments
|
|
||||||
`(#:modules ((guix build utils))
|
|
||||||
#:builder
|
|
||||||
(begin
|
|
||||||
(use-modules (guix build utils))
|
|
||||||
(let ((target (string-append (assoc-ref %outputs "out")
|
|
||||||
"/share/texmf-dist/fonts/map/fontname")))
|
|
||||||
(mkdir-p target)
|
|
||||||
(copy-recursively (assoc-ref %build-inputs "source") target)
|
|
||||||
#t))))
|
|
||||||
(home-page "https://www.ctan.org/pkg/fontname")
|
(home-page "https://www.ctan.org/pkg/fontname")
|
||||||
(synopsis "Scheme for naming fonts in TeX")
|
(synopsis "Scheme for naming fonts in TeX")
|
||||||
(description "This is Fontname, a naming scheme for (the base part of)
|
(description "This is Fontname, a naming scheme for (the base part of)
|
||||||
|
|
Loading…
Reference in a new issue