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
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

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