mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-01 07:16:39 +01:00
gnu: font-tex-gyre: Use 'font-build-system'.
* gnu/packages/fonts.scm (font-tex-gyre): Switch to font-build-system. [source]: Use url-fetch/zipbomb.
This commit is contained in:
parent
40b784b4c7
commit
c226f06c59
1 changed files with 2 additions and 17 deletions
|
@ -555,28 +555,13 @@ (define-public font-tex-gyre
|
||||||
(version "2.005")
|
(version "2.005")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch/zipbomb)
|
||||||
(uri (string-append "http://www.gust.org.pl/projects/e-foundry/"
|
(uri (string-append "http://www.gust.org.pl/projects/e-foundry/"
|
||||||
"tex-gyre/whole/tg-" version "otf.zip"))
|
"tex-gyre/whole/tg-" version "otf.zip"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0kph9l3g7jb2bpmxdbdg5zl56wacmnvdvsdn7is1gc750sqvsn31"))))
|
"0kph9l3g7jb2bpmxdbdg5zl56wacmnvdvsdn7is1gc750sqvsn31"))))
|
||||||
(build-system trivial-build-system)
|
(build-system font-build-system)
|
||||||
(arguments
|
|
||||||
`(#:modules ((guix build utils))
|
|
||||||
#:builder
|
|
||||||
(begin
|
|
||||||
(use-modules (guix build utils))
|
|
||||||
|
|
||||||
(let ((unzip (string-append (assoc-ref %build-inputs "unzip")
|
|
||||||
"/bin/unzip"))
|
|
||||||
(font-dir (string-append %output "/share/fonts/opentype")))
|
|
||||||
(mkdir-p font-dir)
|
|
||||||
(system* unzip
|
|
||||||
(assoc-ref %build-inputs "source")
|
|
||||||
"-d" font-dir)))))
|
|
||||||
(native-inputs
|
|
||||||
`(("unzip" ,unzip)))
|
|
||||||
(home-page "http://www.gust.org.pl/projects/e-foundry/tex-gyre/")
|
(home-page "http://www.gust.org.pl/projects/e-foundry/tex-gyre/")
|
||||||
(synopsis "Remake of Ghostscript fonts")
|
(synopsis "Remake of Ghostscript fonts")
|
||||||
(description "The TeX Gyre collection of fonts is the result of an
|
(description "The TeX Gyre collection of fonts is the result of an
|
||||||
|
|
Loading…
Reference in a new issue