summary refs log tree commit diff
diff options
context:
space:
mode:
authorArun Isaac <arunisaac@systemreboot.net>2017-06-16 11:50:11 +0530
committerArun Isaac <arunisaac@systemreboot.net>2017-06-17 21:09:20 +0530
commit3a722dde065e8e548d1898d78db18c9592f36272 (patch)
treef1dcabd5a33f3d719c0cc1f65aba40ec1b5a9b9d
parent8069f889eefb6225c997dc90945bbb2ed4227bba (diff)
downloadguix-3a722dde065e8e548d1898d78db18c9592f36272.tar.gz
gnu: font-fira-mono: Use 'font-build-system'.
* gnu/packages/fonts.scm (font-awesome): Switch to font-build-system.
-rw-r--r--gnu/packages/fonts.scm18
1 files changed, 1 insertions, 17 deletions
diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 01b6ef00d8..d7c65e1592 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -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.")