mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
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:
parent
3245258fe2
commit
f8619a64e5
1 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue