diff options
author | ng0 <ng0@no-reply.pragmatique.xyz> | 2017-05-28 19:33:09 +0000 |
---|---|---|
committer | Arun Isaac <arunisaac@systemreboot.net> | 2017-06-01 15:16:53 +0530 |
commit | 278c608a251db6948ae47c500af8f075722417c0 (patch) | |
tree | 90168d6c3db8f1da859829f554131ac9461645c3 /gnu/packages | |
parent | 01d71f62224573ef2ab623a295f7e69656e9788f (diff) | |
download | patches-278c608a251db6948ae47c500af8f075722417c0.tar patches-278c608a251db6948ae47c500af8f075722417c0.tar.gz |
gnu: font-awesome: Use 'font-build-system'.
* gnu/packages/fonts.scm (font-awesome): Switch to 'font-build-system'.
[source]: The package was updated in place, so hash has changed.
Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/fonts.scm | 24 |
1 files changed, 3 insertions, 21 deletions
diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index 7a5e63629f..df0997f57a 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -7,7 +7,7 @@ ;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr> ;;; Copyright © 2015, 2017 Ricardo Wurmus <rekado@elephly.net> ;;; Copyright © 2015, 2016 Leo Famulari <leo@famulari.name> -;;; Copyright © 2016, 2017 ng0 <ng0@libertad.pw> +;;; Copyright © 2016, 2017 ng0 <ng0@no-reply.pragmatique.xyz> ;;; Copyright © 2016 Jookia <166291@gmail.com> ;;; Copyright © 2016 Eric Bavier <bavier@member.fsf.org> ;;; Copyright © 2016 Dmitry Nikolaev <cameltheman@gmail.com> @@ -1073,26 +1073,8 @@ designed to work well in user interface environments.") name "-" version ".zip")) (sha256 (base32 - "1frhmw41lnnm9rda2zs202pvfi5vzlrsw4xfp4mswl0qgws61mcd")))) - (build-system trivial-build-system) - (native-inputs - `(("unzip" ,unzip))) - (arguments - `(#:modules ((guix build utils)) - #:builder (begin - (use-modules (guix build utils)) - (let* ((font-dir (string-append %output - "/share/fonts/opentype")) - (source (assoc-ref %build-inputs "source")) - (src-otf-file (string-append "font-awesome-" - ,version - "/fonts/FontAwesome.otf")) - (dest-otf-file (string-append font-dir "/FontAwesome.otf")) - (unzip (assoc-ref %build-inputs "unzip"))) - (setenv "PATH" (string-append unzip "/bin")) - (mkdir-p font-dir) - (system* "unzip" source "-d" ".") - (copy-file src-otf-file dest-otf-file))))) + "1m1rfwm4sjkv10j3xd2dhwk286a5912b2zgvc692cmxi5gxs68jf")))) + (build-system font-build-system) (home-page "http://fontawesome.io") (synopsis "Font that contains a rich iconset") (description |