summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/mail.scm18
1 files changed, 15 insertions, 3 deletions
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 75d774d434..31efea4791 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -3008,12 +3008,24 @@ replacement for the @code{urlview} program.")
                 (modules '((guix build utils)))
                 (snippet
                  '(begin
-                    ;; Install .go files to $prefix/lib instead of
-                    ;; $prefix/share.
                     (substitute* "Makefile.am"
+                      ;; Install .go files to $prefix/lib instead of
+                      ;; $prefix/share.
                       (("^godir[[:space:]]*=.*")
                        "godir = \
-$(libdir)/guile/@GUILE_EFFECTIVE_VERSION@/site-ccache\n"))
+$(libdir)/guile/@GUILE_EFFECTIVE_VERSION@/site-ccache\n")
+
+                      ;; Install assets.
+                      (("^assetsdir.*" _)
+                       "\
+assetsdir    = $(pkgdatadir)/assets
+assetscssdir = $(assetsdir)/css
+assetsimgdir = $(assetsdir)/img
+assetsjsdir  = $(assetsdir)/js
+
+assetscss_DATA = $(wildcard assets/css/*)
+assetsimg_DATA = $(wildcard assets/img/*)
+assetsjs_DATA  = $(wildcard assets/js/*)\n"))
                     #t))))
       (build-system gnu-build-system)
       (arguments