gnu: font-go: Install license files.

* gnu/packages/fonts.scm (font-go)[arguments]<#:license-file-regexp>: Add.
<#:phases>: Add "enter-license-directory" phase.
This commit is contained in:
Simon South 2023-02-03 07:43:09 -05:00 committed by Ludovic Courtès
parent 3245258fe2
commit f8619a64e5
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -2219,12 +2219,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