[pass] contribute to password-store emacs-package

Svend Sorensen svend at ciffer.net
Fri May 9 02:45:07 CEST 2014


"Jason A. Donenfeld" <Jason at zx2c4.com>
writes:

> Svend -- Check this page out:
> <http://devmanual.gentoo.org/eclass-reference/elisp-common.eclass/index.html>.
> Scroll down to "FUNCTIONS." There are a few functions here:
> elisp-install, elisp-site-file-install, .... I don't know anything
> about emacs. Any clue which of these I'd want to use for installing
> this in the Gentoo package?

I am not familiar with the Gentoo packaging system, but using magit as
an example, I think we would need something like this.

files/50password-store-gentoo.el:

(add-to-list 'load-path "@SITELISP@")
(autoload 'password-store-edit "password-store" nil t)
(autoload 'password-store-copy "password-store" nil t)
(autoload 'password-store-init "password-store" nil t)
(autoload 'password-store-insert "password-store" nil t)
(autoload 'password-store-generate "password-store" nil t)
(autoload 'password-store-remove "password-store" nil t)
(autoload 'password-store-rename "password-store" nil t)
(autoload 'password-store-version "password-store" nil t)

and something like this in the ebuild file:

SITEFILE="50${PN}-gentoo.el"
...
elisp-install ${PN} contrib/emacs/*.el || die
elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die

https://github.com/funtoo/portage/blob/4e545986174f69273500c72f217060728debc3dc/app-emacs/magit/files/50magit-gentoo.el



More information about the Password-Store mailing list