diff options
author | Arun Isaac <arunisaac@systemreboot.net> | 2017-05-15 20:20:26 +0530 |
---|---|---|
committer | Arun Isaac <arunisaac@systemreboot.net> | 2017-05-28 19:30:05 +0530 |
commit | e46e0de1b5b8d3cadcbdb833735670d5698c5873 (patch) | |
tree | f042d15b8956db4ad29d3c11888a4ef245bc05f5 /gnu/packages | |
parent | 2e8840194121be6042502f363f143a4faeceb00e (diff) | |
download | guix-patches-e46e0de1b5b8d3cadcbdb833735670d5698c5873.tar guix-patches-e46e0de1b5b8d3cadcbdb833735670d5698c5873.tar.gz |
gnu: font-bitstream-vera: Use 'font-build-system'.
* gnu/packages/fonts.scm (font-bitstream-vera): Switch to 'font-build-system'.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/fonts.scm | 33 |
1 files changed, 1 insertions, 32 deletions
diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index fcc31deebb..954c588189 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -140,38 +140,7 @@ provide serif, sans and monospaced variants.") (sha256 (base32 "1p3qs51x5327gnk71yq8cvmxc6wgx79sqxfvxcv80cdvgggjfnyv")))) - (build-system trivial-build-system) - (arguments - `(#:modules ((guix build utils)) - #:builder (begin - (use-modules (guix build utils) - (srfi srfi-26)) - - (let ((tar (string-append (assoc-ref %build-inputs - "tar") - "/bin/tar")) - (PATH (string-append (assoc-ref %build-inputs - "bzip2") - "/bin")) - (font-dir (string-append %output - "/share/fonts/truetype")) - (doc-dir (string-append %output "/share/doc/" - ,name "-" ,version))) - (setenv "PATH" PATH) - (system* tar "xvf" (assoc-ref %build-inputs "source")) - - (mkdir-p font-dir) - (mkdir-p doc-dir) - (chdir (string-append "ttf-bitstream-vera-" ,version)) - (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 `(("source" ,source) - ("tar" ,tar) - ("bzip2" ,bzip2))) + (build-system font-build-system) (home-page "http://www.gnome.org/fonts/") (synopsis "Bitstream Vera sans-serif typeface") (description "Vera is a sans-serif typeface from Bitstream, Inc. This |