gnu: font-fira-mono: Use 'font-build-system'.

* gnu/packages/fonts.scm (font-awesome): Switch to font-build-system.
This commit is contained in:
Arun Isaac 2017-06-16 11:50:11 +05:30
parent 8069f889ee
commit 3a722dde06
No known key found for this signature in database
GPG Key ID: 2E25EE8B61802BB3
1 changed files with 1 additions and 17 deletions

View File

@ -871,23 +871,7 @@ designed to work well in user interface environments.")
(sha256
(base32
"1z65x0dw5dq6rs6p9wyfrir50rlh95vgzsxr8jcd40nqazw4jhpi"))))
(build-system trivial-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
"-j"
(assoc-ref %build-inputs "source")
"*.otf"
"-d" font-dir)))))
(native-inputs
`(("unzip" ,unzip)))
(build-system font-build-system)
(home-page "http://mozilla.github.io/Fira/")
(synopsis "Mozilla's monospace font")
(description "This is the typeface used by Mozilla in Firefox OS.")