gnu: texlive-metapost: Refresh package definition.
* gnu/packages/tex.scm (texlive-metapost)[source]: Use TEXLIVE-ORIGIN instead of TEXLIVE-REF and SVN-FETCH. [build-system]: Use TEXLIVE-BUILD-SYSTEM.
This commit is contained in:
parent
f626769b3a
commit
c89e6f6d32
1 changed files with 23 additions and 23 deletions
|
@ -8225,29 +8225,29 @@ the derived Type 1 font, together with support files for TeX (LaTeX).")
|
||||||
(package
|
(package
|
||||||
(name "texlive-metapost")
|
(name "texlive-metapost")
|
||||||
(version (number->string %texlive-revision))
|
(version (number->string %texlive-revision))
|
||||||
(source (origin
|
(source (texlive-origin
|
||||||
(method svn-fetch)
|
name version
|
||||||
(uri (svn-reference
|
(list "doc/man/man1/dvitomp.1"
|
||||||
(url (string-append "svn://www.tug.org/texlive/tags/"
|
"doc/man/man1/dvitomp.man1.pdf"
|
||||||
%texlive-tag "/Master/texmf-dist/"
|
"doc/man/man1/mpost.1"
|
||||||
"/metapost"))
|
"doc/man/man1/mpost.man1.pdf"
|
||||||
(revision %texlive-revision)))
|
"doc/metapost/base/"
|
||||||
(file-name (string-append name "-" version "-checkout"))
|
"fonts/afm/metapost/"
|
||||||
(sha256
|
"fonts/enc/dvips/metapost/"
|
||||||
(base32
|
"fonts/map/dvips/metapost/"
|
||||||
"140k9dz2g2vj5ypgyqx3px9c1y9a820y8kq139p96lw0yk6839aw"))))
|
"fonts/tfm/metapost/"
|
||||||
(build-system trivial-build-system)
|
"fonts/type1/metapost/"
|
||||||
(arguments
|
"metapost/base/"
|
||||||
`(#:modules ((guix build utils))
|
"metapost/config/"
|
||||||
#:builder
|
"metapost/misc/"
|
||||||
(begin
|
"metapost/support/charlib/"
|
||||||
(use-modules (guix build utils))
|
"tex/generic/metapost/")
|
||||||
(let ((target (string-append (assoc-ref %outputs "out")
|
(base32
|
||||||
"/share/texmf-dist/metapost")))
|
"04pgi23frfk6ds10zypqvki0852ds7m1s52c5qvbpyl647nfbgc5")))
|
||||||
(mkdir-p target)
|
(outputs '("out" "doc"))
|
||||||
(copy-recursively (assoc-ref %build-inputs "source") target)
|
(build-system texlive-build-system)
|
||||||
#t))))
|
(propagated-inputs (list texlive-kpathsea))
|
||||||
(home-page "https://www.ctan.org/pkg/metapost")
|
(home-page "https://ctan.org/pkg/metapost")
|
||||||
(synopsis "Create scalable illustrations")
|
(synopsis "Create scalable illustrations")
|
||||||
(description
|
(description
|
||||||
"MetaPost uses a language based on that of Metafont to produce precise
|
"MetaPost uses a language based on that of Metafont to produce precise
|
||||||
|
|
Reference in a new issue