aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac <arunisaac@systemreboot.net>2017-06-16 11:27:11 +0530
committerArun Isaac <arunisaac@systemreboot.net>2017-06-17 21:09:19 +0530
commit9713b31efd138171b4f3d5dd089984f1485ce920 (patch)
treeb62be511283df72c6a7b831508728c9cf648aed0
parentbbb1a1d2cfc41d0e6df2e86f225ef53fe3b4d128 (diff)
downloadguix-9713b31efd138171b4f3d5dd089984f1485ce920.tar
guix-9713b31efd138171b4f3d5dd089984f1485ce920.tar.gz
gnu: font-google-roboto: Use 'font-build-system'.
* gnu/packages/fonts.scm (font-google-roboto): Switch to font-build-system.
-rw-r--r--gnu/packages/fonts.scm22
1 files changed, 1 insertions, 21 deletions
diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 199f6e45a8..9669397679 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -704,27 +704,7 @@ display all Unicode symbols.")
(sha256
(base32
"0spscx08fad7i8qs7icns96iwcapniq8lwwqqvbf7bamvs8qfln4"))))
- (native-inputs `(("unzip" ,unzip)))
- (build-system trivial-build-system)
- (arguments
- `(#:modules ((guix build utils))
- #:builder (begin
- (use-modules (guix build utils)
- (srfi srfi-26))
-
- (let ((PATH (string-append (assoc-ref %build-inputs
- "unzip")
- "/bin"))
- (font-dir (string-append %output
- "/share/fonts/truetype")))
- (setenv "PATH" PATH)
- (system* "unzip" (assoc-ref %build-inputs "source"))
-
- (mkdir-p font-dir)
- (chdir "roboto-hinted")
- (for-each (lambda (ttf)
- (install-file ttf font-dir))
- (find-files "." "\\.ttf$"))))))
+ (build-system font-build-system)
(home-page "https://github.com/google/roboto")
(synopsis "The Roboto family of fonts")
(description