From e80fe4ddcf15e21004b8135cf8af34b458697f64 Mon Sep 17 00:00:00 2001 From: BonfaceKilz Date: Fri, 24 Sep 2021 15:29:57 +0300 Subject: gn: javascript-font-awesome: Add "webfonts" directory * gn/packages/javascript.scm (javascript-font-awesome)[arguments]: Copy font-awesome directory to the target directory. --- gn/packages/javascript.scm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gn/packages/javascript.scm b/gn/packages/javascript.scm index e167e72..5f47c96 100644 --- a/gn/packages/javascript.scm +++ b/gn/packages/javascript.scm @@ -1872,9 +1872,12 @@ Popper will automatically put the tooltip in the right place near the button.") (targetdir (string-append out "/share/genenetwork2/javascript/fontawesome")) (source (assoc-ref %build-inputs "source")) (js-dir (string-append source "/js")) - (css-dir (string-append source "/css"))) + (css-dir (string-append source "/css")) + (fonts-dir (string-append source "/webfonts"))) (copy-recursively css-dir (string-append targetdir "/css")) - (copy-recursively js-dir (string-append targetdir "/js")))))) + (copy-recursively js-dir (string-append targetdir "/js")) + (copy-recursively fonts-dir + (string-append targetdir "/webfonts")))))) (native-inputs `(("source" ,source))) (home-page "https://fontawesome.com/") (synopsis "Font that contains a rich iconset") -- cgit v1.2.3