me
/
guix
Archived
1
0
Fork 0

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>
master
Brendan Tildesley 2017-06-01 22:00:25 +10:00 committed by Arun Isaac
parent 7359cffaf8
commit a5ce48c8f5
No known key found for this signature in database
GPG Key ID: 2E25EE8B61802BB3
1 changed files with 1 additions and 13 deletions

View File

@ -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"))