guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

26/75: gnu: font-go: Install license files.


From: guix-commits
Subject: 26/75: gnu: font-go: Install license files.
Date: Sun, 21 Jan 2024 13:21:45 -0500 (EST)

apteryx pushed a commit to branch core-updates
in repository guix.

commit 80a18b617be58b6ca93acfd9e605932293d2c37b
Author: Simon South <simon@simonsouth.net>
AuthorDate: Fri Feb 3 07:43:09 2023 -0500

    gnu: font-go: Install license files.
    
    * 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 a95b4d4412..421df48a68 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -2063,12 +2063,16 @@ and stylistic alternates.")
                   "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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]