diff options
author | Arun Isaac <arunisaac@systemreboot.net> | 2017-06-16 11:50:47 +0530 |
---|---|---|
committer | Arun Isaac <arunisaac@systemreboot.net> | 2017-06-17 21:09:20 +0530 |
commit | b41704cd6d0653612bc94ecdba385aa8ff67b0c3 (patch) | |
tree | 9b568e1cff35a70396e4db95f5073cf79f8f64ba /gnu | |
parent | 3a722dde065e8e548d1898d78db18c9592f36272 (diff) | |
download | patches-b41704cd6d0653612bc94ecdba385aa8ff67b0c3.tar patches-b41704cd6d0653612bc94ecdba385aa8ff67b0c3.tar.gz |
gnu: font-adobe-source-code-pro: Use 'font-build-system'.
* gnu/packages/fonts.scm (font-adobe-source-code-pro): Switch to
font-build-system.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/fonts.scm | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index d7c65e1592..4d61f0fccf 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -830,26 +830,7 @@ Powerline support.") (sha256 (base32 "0arhhsf3i7ss39ykn73d1j8k4n8vx7115xph6jwkd970p1cxvr54")))) - (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/opentype"))) - (setenv "PATH" PATH) - (mkdir-p font-dir) - (zero? (system* tar "-C" font-dir "--strip-components=2" - "-xvf" (assoc-ref %build-inputs "source") - (string-append "source-code-pro-" - ,version "/OTF"))))))) - (native-inputs - `(("gzip" ,gzip) - ("tar" ,tar))) + (build-system font-build-system) (home-page "https://github.com/adobe-fonts/source-code-pro") (synopsis "Monospaced font family for user interface and coding environments") |