gnu: font-adobe-source-code-pro: Use 'font-build-system'.
* gnu/packages/fonts.scm (font-adobe-source-code-pro): Switch to font-build-system.master
parent
3a722dde06
commit
b41704cd6d
|
@ -830,26 +830,7 @@ Powerline support.")
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0arhhsf3i7ss39ykn73d1j8k4n8vx7115xph6jwkd970p1cxvr54"))))
|
"0arhhsf3i7ss39ykn73d1j8k4n8vx7115xph6jwkd970p1cxvr54"))))
|
||||||
(build-system trivial-build-system)
|
(build-system font-build-system)
|
||||||
(arguments
|
|
||||||
`(#:modules ((guix build utils))
|
|
||||||
#:builder
|
|
||||||
(begin
|
|
||||||
(use-modules (guix build utils))
|
|
||||||
(let ((tar (string-append (assoc-ref %build-inputs "tar")
|
|
||||||
"/bin/tar"))
|
|
||||||
(PATH (string-append (assoc-ref %build-inputs "gzip")
|
|
||||||
"/bin"))
|
|
||||||
(font-dir (string-append %output "/share/fonts/opentype")))
|
|
||||||
(setenv "PATH" PATH)
|
|
||||||
(mkdir-p font-dir)
|
|
||||||
(zero? (system* tar "-C" font-dir "--strip-components=2"
|
|
||||||
"-xvf" (assoc-ref %build-inputs "source")
|
|
||||||
(string-append "source-code-pro-"
|
|
||||||
,version "/OTF")))))))
|
|
||||||
(native-inputs
|
|
||||||
`(("gzip" ,gzip)
|
|
||||||
("tar" ,tar)))
|
|
||||||
(home-page "https://github.com/adobe-fonts/source-code-pro")
|
(home-page "https://github.com/adobe-fonts/source-code-pro")
|
||||||
(synopsis
|
(synopsis
|
||||||
"Monospaced font family for user interface and coding environments")
|
"Monospaced font family for user interface and coding environments")
|
||||||
|
|
Loading…
Reference in New Issue