summary refs log tree commit diff
diff options
context:
space:
mode:
authorBrendan Tildesley <brendan.tildesley@openmailbox.org>2017-06-01 22:00:25 +1000
committerArun Isaac <arunisaac@systemreboot.net>2017-06-01 20:09:39 +0530
commita5ce48c8f5e8b46438b25f670e8ba3ebb6fafa43 (patch)
treef6410ae1462001aaf9f80019dcfe3363e6f87183
parent7359cffaf822128685d0d31bd64d4ba107af89db (diff)
downloadguix-a5ce48c8f5e8b46438b25f670e8ba3ebb6fafa43.tar.gz
gnu: font-cns11643-swjz: Use 'font-build-system'.
* gnu/packages/fonts.scm (font-cns11643-swjz): Switch to 'font-build-system'.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
-rw-r--r--gnu/packages/fonts.scm14
1 files changed, 1 insertions, 13 deletions
diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 620c5dec74..1145b3114f 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -471,19 +471,7 @@ encoded in the user defined area of the Big-5 code.
        (sha256
         (base32
          "1qkljldbmb53zp1rcmpsb8rzy67rnsqcjxi549m9743ifk4isl78"))))
-    (build-system trivial-build-system)
-    (arguments
-     `(#:modules ((guix build utils))
-       #:builder
-       (begin
-         (use-modules (guix build utils))
-         (let ((font-dir (string-append %output
-                                        "/share/fonts/truetype/cns11643"))
-               (source (assoc-ref %build-inputs "source")))
-           (mkdir-p font-dir)
-           (copy-file source
-                      (string-append font-dir "/" "ebas927.ttf"))
-           #t))))
+    (build-system font-build-system)
     (home-page
      (string-append "http://www.cns11643.gov.tw/AIDB/download.do"
                     "?name=%E5%AD%97%E5%9E%8B%E4%B8%8B%E8%BC%89"))