[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/12: gnu: font-terminus: Install the README.
From: |
guix-commits |
Subject: |
03/12: gnu: font-terminus: Install the README. |
Date: |
Thu, 19 Oct 2023 17:58:25 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit 62d42bdd75cafbbf80c722d792a325eb51ba20af
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Oct 15 02:00:00 2023 +0200
gnu: font-terminus: Install the README.
* gnu/packages/fonts.scm (font-terminus): Add a new
'install-documentation phase.
---
gnu/packages/fonts.scm | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index a529f325a2..4254408e0f 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -580,6 +580,10 @@ The unified Libertinus family consists of:
(outputs (list "out" "pcf-8bit" "otb"))
(arguments
`(#:tests? #f ; no test target in tarball
+ #:modules
+ ((guix build gnu-build-system)
+ (guix build utils)
+ (ice-9 match))
#:phases
(modify-phases %standard-phases
(add-after 'build 'build-more-bits
@@ -601,7 +605,16 @@ The unified Libertinus family consists of:
(lambda* (#:key make-flags outputs #:allow-other-keys)
(let ((otb (assoc-ref outputs "otb")))
(apply invoke "make" "install-otb" (string-append "prefix=" otb)
- make-flags)))))))
+ make-flags))))
+ (add-after 'install 'install-documentation
+ ;; There's no way to decypher the cryptic file names without this.
+ (lambda* (#:key outputs #:allow-other-keys)
+ (for-each (match-lambda
+ ((name . directory)
+ (install-file "README"
+ (string-append directory "/share/doc/"
+ ,name "-" ,version))))
+ outputs))))))
(native-inputs
(list bdftopcf font-util mkfontdir pkg-config python))
(home-page "https://terminus-font.sourceforge.net/")
- branch master updated (c065da01ff -> 47e265af75), guix-commits, 2023/10/19
- 04/12: gnu: mosh: Update package style., guix-commits, 2023/10/19
- 03/12: gnu: font-terminus: Install the README.,
guix-commits <=
- 01/12: gnu: iceauth: Fix source., guix-commits, 2023/10/19
- 05/12: gnu: mosh: Prepare for cross-building., guix-commits, 2023/10/19
- 06/12: gnu: Add psftools., guix-commits, 2023/10/19
- 02/12: gnu: ncdu: Use a less clever licence URL., guix-commits, 2023/10/19
- 07/12: gnu: isc-dhcp: Remove unused net-tools input., guix-commits, 2023/10/19
- 08/12: gnu: network-manager: Update to 1.44.0., guix-commits, 2023/10/19
- 10/12: gnu: ppp: Update to 2.5.0., guix-commits, 2023/10/19
- 09/12: gnu: network-manager: Use Meson option for modprobe., guix-commits, 2023/10/19
- 11/12: gnu: connman: Update to 1.42., guix-commits, 2023/10/19
- 12/12: linux-modules: Fix module dependency loading., guix-commits, 2023/10/19