summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac <arunisaac@systemreboot.net>2022-03-20 15:01:12 +0530
committerArun Isaac <arunisaac@systemreboot.net>2022-05-16 14:16:57 +0530
commit0c272b6e7a8179fafd1dcedd6730dec55535a647 (patch)
tree97ee89b91863dccd8c7da7a4caf20f9f7435a4bc
parent33253b562a73ef008f178b18c3dc10389baa4fc7 (diff)
build: font-build-system: Install web fonts.
* guix/build/font-build-system.scm (install): Install woff and woff2 web font files.
-rw-r--r--guix/build/font-build-system.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/guix/build/font-build-system.scm b/guix/build/font-build-system.scm
index 6726595fe1..9bd9524a7d 100644
--- a/guix/build/font-build-system.scm
+++ b/guix/build/font-build-system.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net>
+;;; Copyright © 2017, 2022 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2017 Alex Griffin <a@ajgrf.com>
;;;
;;; This file is part of GNU Guix.
@@ -54,6 +54,8 @@ archive, or a font file."
(find-files source "\\.(ttf|ttc)$"))
(for-each (cut install-file <> (string-append fonts "/opentype"))
(find-files source "\\.(otf|otc)$"))
+ (for-each (cut install-file <> (string-append fonts "/web"))
+ (find-files source "\\.(woff|woff2)$"))
#t))
(define %standard-phases