diff options
author | Arun Isaac <arunisaac@systemreboot.net> | 2017-06-16 11:22:05 +0530 |
---|---|---|
committer | Arun Isaac <arunisaac@systemreboot.net> | 2017-06-17 21:09:19 +0530 |
commit | bbb1a1d2cfc41d0e6df2e86f225ef53fe3b4d128 (patch) | |
tree | c35e0c037afba396daa6ae04adb5eb9a9d3d9e19 | |
parent | c226f06c5960069a343a6de663a07b5d75027ca6 (diff) | |
download | guix-bbb1a1d2cfc41d0e6df2e86f225ef53fe3b4d128.tar guix-bbb1a1d2cfc41d0e6df2e86f225ef53fe3b4d128.tar.gz |
gnu: font-anonymous-pro: Use 'font-build-system'.
* gnu/packages/fonts.scm (font-anonymous-pro): Switch to font-build-system.
-rw-r--r-- | gnu/packages/fonts.scm | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index 50021aad1d..199f6e45a8 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -583,28 +583,7 @@ Heros, Pagella, Schola, Termes.") (sha256 (base32 "1asj6lykvxh46czbal7ymy2k861zlcdqpz8x3s5bbpqwlm3mhrl6")))) - (build-system trivial-build-system) - (arguments - `(#:modules ((guix build utils)) - #:builder - (begin - (use-modules (guix build utils)) - (let ((unzip (string-append (assoc-ref %build-inputs "unzip") - "/bin/unzip")) - (font-dir (string-append %output "/share/fonts/truetype")) - (doc-dir (string-append %output "/share/doc/" ,name))) - (system* unzip (assoc-ref %build-inputs "source")) - (mkdir-p font-dir) - (mkdir-p doc-dir) - (chdir (string-append "AnonymousPro-" ,version ".001")) - (for-each (lambda (ttf) - (install-file ttf font-dir)) - (find-files "." "\\.ttf$")) - (for-each (lambda (doc) - (install-file doc doc-dir)) - (find-files "." "\\.txt$")))))) - (native-inputs - `(("unzip" ,unzip))) + (build-system font-build-system) (home-page "http://www.marksimonson.com/fonts/view/anonymous-pro") (synopsis "Fixed-width fonts designed with coding in mind") (description "Anonymous Pro is a family of four fixed-width fonts designed |