aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/fonts.scm
diff options
context:
space:
mode:
authorFeng Shu <tumashu@163.com>2017-07-16 05:57:02 +0800
committerLudovic Courtès <ludo@gnu.org>2017-07-17 15:13:41 +0200
commit7fc6ce46f972bd22e8c559a017002d31f1523bd3 (patch)
treebdd08dffa8e3886139a7d2e286b2199a9ab5f6ff /gnu/packages/fonts.scm
parent9b7ee28d5700b47ae34bd47c32d250f042fbdbbd (diff)
downloadguix-7fc6ce46f972bd22e8c559a017002d31f1523bd3.tar
guix-7fc6ce46f972bd22e8c559a017002d31f1523bd3.tar.gz
gnu: font-wqy-microhei: Use 'font-build-system'.
* gnu/packages/fonts.scm (font-wqy-microhei): Switch to font-build-system. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/fonts.scm')
-rw-r--r--gnu/packages/fonts.scm18
1 files changed, 1 insertions, 17 deletions
diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index ceadbe1c39..8463829d4c 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -516,23 +516,7 @@ ko (Korean) locales for @code{fontconfig}.")
(sha256
(base32
"0gi1yxqph8xx869ichpzzxvx6y50wda5hi77lrpacdma4f0aq0i8"))))
- (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")))
- (mkdir-p font-dir)
- (setenv "PATH" PATH)
- (system* "tar" "xvf" (assoc-ref %build-inputs "source"))
- (install-file "wqy-microhei/wqy-microhei.ttc" font-dir)))))
- (native-inputs
- `(("gzip" ,gzip)
- ("tar" ,tar)))
+ (build-system font-build-system)
(home-page "http://wenq.org/wqy2/")
(synopsis "CJK font")
(description