aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorArun Isaac <arunisaac@systemreboot.net>2017-06-16 11:48:02 +0530
committerArun Isaac <arunisaac@systemreboot.net>2017-06-17 21:09:20 +0530
commit6084d9b42065ecd5477dcbdcb5db483647bc1935 (patch)
tree0741a046f57c41747803f95b942dd909958bc617 /gnu
parent9713b31efd138171b4f3d5dd089984f1485ce920 (diff)
downloadguix-6084d9b42065ecd5477dcbdcb5db483647bc1935.tar
guix-6084d9b42065ecd5477dcbdcb5db483647bc1935.tar.gz
gnu: font-un: Use 'font-build-system'.
* gnu/packages/fonts.scm (font-un): Switch to font-build-system.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/fonts.scm28
1 files changed, 1 insertions, 27 deletions
diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 9669397679..3a79244835 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -726,33 +726,7 @@ visual language \"Material Design\".")
(sha256
(base32
"13liaz2pmww3aqabm55la5npd08m1skh334ky7qfidxaz5s742iv"))))
- (build-system trivial-build-system)
- (arguments
- `(#:modules ((guix build utils))
- #:builder
- (begin
- (use-modules (guix build utils))
-
- (let ((tar (string-append (assoc-ref %build-inputs "tar")
- "/bin/tar"))
- (PATH (string-append (assoc-ref %build-inputs "gzip")
- "/bin"))
- (font-dir (string-append %output "/share/fonts/truetype"))
- (doc-dir (string-append %output "/share/doc/" ,name)))
- (setenv "PATH" PATH)
- (system* tar "xvf" (assoc-ref %build-inputs "source"))
- (mkdir-p font-dir)
- (mkdir-p doc-dir)
- (chdir (string-append "un-fonts"))
- (for-each (lambda (ttf)
- (install-file ttf font-dir))
- (find-files "." "\\.ttf$"))
- (for-each (lambda (doc)
- (install-file doc doc-dir))
- '("COPYING" "README"))))))
- (native-inputs
- `(("tar" ,tar)
- ("gzip" ,gzip)))
+ (build-system font-build-system)
(home-page "https://kldp.net/projects/unfonts/")
(synopsis "Collection of Korean fonts")
(description