[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/04: gnu: font-wqy-zenhei: Use 'font-build-system'.
From: |
Ludovic Courtès |
Subject: |
04/04: gnu: font-wqy-zenhei: Use 'font-build-system'. |
Date: |
Mon, 17 Jul 2017 09:14:16 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 371ca85f52aa751522675be05152a50786130e9b
Author: Feng Shu <address@hidden>
Date: Sun Jul 16 05:52:59 2017 +0800
gnu: font-wqy-zenhei: Use 'font-build-system'.
* gnu/packages/fonts.scm (font-wqy-zenhei): Switch to font-build-system.
Signed-off-by: Ludovic Courtès <address@hidden>
---
gnu/packages/fonts.scm | 19 +------------------
1 file changed, 1 insertion(+), 18 deletions(-)
diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 8463829..7687ed2 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -472,24 +472,7 @@ variants.")
(sha256
(base32
"1mkmxq8g2hjcglb3zajfqj20r4r88l78ymsp2xyl5yav8w3f7dz4"))))
- (build-system trivial-build-system)
- (arguments
- `(#:modules ((guix build utils))
- #:builder
- (begin
- (use-modules (guix build utils))
- (let ((PATH (string-append (assoc-ref %build-inputs "tar") "/bin:"
- (assoc-ref %build-inputs "gzip") "/bin"))
- (font-dir (string-append (assoc-ref %outputs "out")
- "/share/fonts/wenquanyi/")))
- (setenv "PATH" PATH)
- (mkdir-p font-dir)
- (system* "tar" "xvf" (assoc-ref %build-inputs "source"))
- (chdir "wqy-zenhei")
- (install-file "wqy-zenhei.ttc" font-dir)))))
- (native-inputs
- `(("gzip" ,gzip)
- ("tar" ,tar)))
+ (build-system font-build-system)
(home-page "http://wenq.org/wqy2/")
(synopsis "CJK font")
(description