[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#61253] [PATCH core-updates 12/19] gnu: font-go: Install license fil
From: |
Simon South |
Subject: |
[bug#61253] [PATCH core-updates 12/19] gnu: font-go: Install license files. |
Date: |
Fri, 3 Feb 2023 07:43:09 -0500 |
* gnu/packages/fonts.scm (font-go)[arguments]<#:license-file-regexp>: Add.
<#:phases>: Add "enter-license-directory" phase.
---
gnu/packages/fonts.scm | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 29c26fa6b3..0d373c7393 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -1787,12 +1787,16 @@ (define-public font-go
"1aq6mnjayks55gd9ahavk6jfydlq5lm4xm0xk4pd5sqa74p5p74d"))))
(build-system font-build-system)
(arguments
- `(#:phases
+ `(#:license-file-regexp "^(LICENSE|PATENTS)$"
+ #:phases
(modify-phases %standard-phases
(add-before 'install 'chdir
(lambda _
(chdir "font/gofont/ttfs")
- #t)))))
+ #t))
+ (add-before 'install-license-files 'enter-license-directory
+ (lambda _
+ (chdir "../../.."))))))
(home-page "https://blog.golang.org/go-fonts")
(synopsis "The Go font family")
(description
--
2.39.1
- [bug#61253] [PATCH core-updates 00/19] Add license files missing from font packages, Simon South, 2023/02/03
- [bug#61253] [PATCH core-updates 02/19] build-system/font: Customize %license-file-regexp., Simon South, 2023/02/03
- [bug#61253] [PATCH core-updates 12/19] gnu: font-go: Install license files.,
Simon South <=
- [bug#61253] [PATCH core-updates 09/19] gnu: font-fira-go: Install license file., Simon South, 2023/02/03
- [bug#61253] [PATCH core-updates 11/19] gnu: font-space-grotesk: Remove obsolete phase., Simon South, 2023/02/03
- [bug#61253] [PATCH core-updates 01/19] build-system/font: Add #:license-file-regexp argument., Simon South, 2023/02/03
- [bug#61253] [PATCH core-updates 04/19] gnu: font-lato: Install license file., Simon South, 2023/02/03
- [bug#61253] [PATCH core-updates 14/19] gnu: font-culmus: Install all license files., Simon South, 2023/02/03
- [bug#61253] [PATCH core-updates 19/19] gnu: font-charter: Install license file., Simon South, 2023/02/03
- [bug#61253] [PATCH core-updates 06/19] gnu: font-wqy-zenhei: Install all license files., Simon South, 2023/02/03
- [bug#61253] [PATCH core-updates 15/19] gnu: font-dseg: Simplify "install" phase., Simon South, 2023/02/03
- [bug#61253] [PATCH core-updates 18/19] gnu: font-fontna-yasashisa-antique: Install license file., Simon South, 2023/02/03
- [bug#61253] [PATCH core-updates 13/19] gnu: font-dosis: Remove extraneous files; install license file., Simon South, 2023/02/03