build: font-build-system: Install web fonts.
* guix/build/font-build-system.scm (install): Install woff and woff2 web font files.master
parent
33253b562a
commit
0c272b6e7a
|
@ -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
|
||||
|
|
Reference in New Issue