Subject: Re: [bug#43211] [PATCH] gnu: emacs-lice-el: Update to 0.2-2.482e58a.

From: Oleg Pykhalov <[email-masked]>
Date: Sun, 06 Sep 2020 11:36:22 +0300

Hi,

Michael Rohleder <[email-masked]> writes:

> * gnu/packages/emacs-xyz.scm (emacs-lice-el): Update to 0.2-2.482e58a.
> [arguments]: Add phase 'install-templates.
> ---
>  gnu/packages/emacs-xyz.scm | 16 +++++++++++++---
>  1 file changed, 13 insertions(+), 3 deletions(-)
>
> diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
> index d9716ba91c..a5a5e72411 100644
> --- a/gnu/packages/emacs-xyz.scm
> +++ b/gnu/packages/emacs-xyz.scm
> @@ -15890,10 +15890,10 @@ Magit.")
>      (license license:gpl3+)))
>  
>  (define-public emacs-lice-el
[…]
> +      (arguments
> +       `(#:phases
> +         (modify-phases %standard-phases
> +           (add-after 'install 'install-templates
> +             (lambda* (#:key outputs #:allow-other-keys)
> +               (copy-recursively
> +                "template"
> +                (string-append (assoc-ref outputs "out")
> +                               "/share/emacs/site-lisp/template"))
> +               #t)))))
>        (home-page "https://github.com/buzztaiki/lice-el")
>        (synopsis "License and header template for Emacs")
>        (description "@code{lice.el} provides following features:

The ‘site-lisp’ is not an appropriate place for this data.  It's better
to install those files in [1] directory, and substitute ‘lice.el’
accordingly so it could find them.

[1] /gnu/store/...emacs-lice-el.../share/emacs-lice-el/template

Could you update the patch with this change, please?

Thanks,
Oleg.