gnu: font-comic-neue: Install license file.

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

View file

@ -1858,8 +1858,7 @@ (define-public font-comic-neue
;; several hidden files to be installed.
(add-before 'install 'delete-macosx-files
(lambda _
(delete-file-recursively "__MACOSX")
#t))
(delete-file-recursively "__MACOSX")))
(add-after 'install 'install-conf
(lambda* (#:key outputs #:allow-other-keys)
(let ((conf-dir (string-append (assoc-ref outputs "out")
@ -1878,8 +1877,10 @@ (define-public font-comic-neue
<family>Comic Neue</family>
</prefer>
</alias>
</fontconfig>\n"))))
#t)))))
</fontconfig>\n"))))))
(add-before 'install-license-files 'enter-license-directory
(lambda _
(chdir (string-append "comic-neue-" ,version)))))))
(home-page "https://www.comicneue.com/")
(synopsis "Font that fixes the shortcomings of Comic Sans")
(description