guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

06/07: gnu: font-fira-mono: Use 'font-build-system'.


From: Arun Isaac
Subject: 06/07: gnu: font-fira-mono: Use 'font-build-system'.
Date: Sat, 17 Jun 2017 11:40:04 -0400 (EDT)

arunisaac pushed a commit to branch master
in repository guix.

commit 3a722dde065e8e548d1898d78db18c9592f36272
Author: Arun Isaac <address@hidden>
Date:   Fri Jun 16 11:50:11 2017 +0530

    gnu: font-fira-mono: Use 'font-build-system'.
    
    * gnu/packages/fonts.scm (font-awesome): Switch to font-build-system.
---
 gnu/packages/fonts.scm | 18 +-----------------
 1 file changed, 1 insertion(+), 17 deletions(-)

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 01b6ef0..d7c65e1 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.")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]