1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-25 03:30:30 +02:00

build-system/font: Customize %license-file-regexp.

* guix/build/font-build-system.scm (%license-file-regexp): Customize to
include names of license files commonly found in font packages.
This commit is contained in:
Simon South
2023-02-03 07:42:59 -05:00
committed by Ludovic Courtès
parent 3ee1e8028e
commit afdb74da3a

View File

@@ -58,8 +58,9 @@ archive, or a font file."
(find-files source "\\.(woff|woff2)$"))))
(define %license-file-regexp
;; Regexp matching license files.
"^(COPYING.*|LICEN[CS]E.*|[Ll]icen[cs]e.*|Copy[Rr]ight(\\.(txt|md))?)$")
;; Regexp matching license files commonly found in font packages.
"^((COPY(ING|RIGHT)|LICEN[CS]E).*\
|(([Cc]opy[Rr]ight|[Ll]icen[cs]es?|IPA_.*|OFL(-?1\\.?1)?)(\\.(txt|md)?))$)")
(define %standard-phases
(modify-phases gnu:%standard-phases