mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 13:28:12 -05: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:
parent
3ee1e8028e
commit
afdb74da3a
1 changed files with 3 additions and 2 deletions
|
@ -58,8 +58,9 @@ (define* (install #:key outputs #:allow-other-keys)
|
|||
(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
|
||||
|
|
Loading…
Reference in a new issue