aboutsummaryrefslogtreecommitdiff
path: root/gn
diff options
context:
space:
mode:
authorBonfaceKilz2021-09-24 15:29:57 +0300
committerBonfaceKilz2021-09-24 15:29:57 +0300
commite80fe4ddcf15e21004b8135cf8af34b458697f64 (patch)
treecadd97b74e1df25213f2880d492554c91ace09bb /gn
parent5f66ae588b856088ed82395b90de4a67140b0b63 (diff)
downloadguix-bioinformatics-e80fe4ddcf15e21004b8135cf8af34b458697f64.tar.gz
gn: javascript-font-awesome: Add "webfonts" directory
* gn/packages/javascript.scm (javascript-font-awesome)[arguments]: Copy font-awesome directory to the target directory.
Diffstat (limited to 'gn')
-rw-r--r--gn/packages/javascript.scm7
1 files 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")