aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon South <simon@simonsouth.net>2023-02-03 07:42:59 -0500
committerLudovic Courtès <ludo@gnu.org>2024-08-31 10:44:31 +0200
commitafdb74da3acc84540bf7c1d95e943e54cee50d30 (patch)
tree0e3a1c049da8f1e4789b254bed3ec47a7d0e67b2
parent3ee1e8028e46108dee1d56c1ce11636d15059672 (diff)
downloadguix-afdb74da3acc84540bf7c1d95e943e54cee50d30.tar.gz
guix-afdb74da3acc84540bf7c1d95e943e54cee50d30.zip
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.
-rw-r--r--guix/build/font-build-system.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/guix/build/font-build-system.scm b/guix/build/font-build-system.scm
index 8418ada1d2..0b1542394a 100644
--- a/guix/build/font-build-system.scm
+++ b/guix/build/font-build-system.scm
@@ -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