~ruther/guix-local

afdb74da3acc84540bf7c1d95e943e54cee50d30 — Simon South 3 years ago 3ee1e80
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.
1 files changed, 3 insertions(+), 2 deletions(-)

M guix/build/font-build-system.scm
M guix/build/font-build-system.scm => guix/build/font-build-system.scm +3 -2
@@ 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