diff options
Diffstat (limited to 'app-emacs/mv_emacs/mv_emacs-1.4-r1.ebuild')
-rw-r--r-- | app-emacs/mv_emacs/mv_emacs-1.4-r1.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/app-emacs/mv_emacs/mv_emacs-1.4-r1.ebuild b/app-emacs/mv_emacs/mv_emacs-1.4-r1.ebuild new file mode 100644 index 00000000..96fc8e06 --- /dev/null +++ b/app-emacs/mv_emacs/mv_emacs-1.4-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 2012-2020 Martin V\"ath +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +RESTRICT="mirror" +inherit elisp-common + +DESCRIPTION="(X)Emacs extensions: block support, macrorecorder, verify change" +HOMEPAGE="https://github.com/vaeth/mv_emacs/" +SRC_URI="https://github.com/vaeth/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos" +IUSE="" + +BDEPEND="app-editors/emacs" +RDEPEND=${DEPEND} + +src_unpack() { + default + cd "${S}" + mkdir sitefile + cat >"sitefile/50${PN}-gentoo.el" <<EOF +(add-to-list 'load-path "@SITELISP@") +(load "mv_emacs-autoloads") +EOF +} + +src_compile() { + elisp-make-autoload-file || die + elisp-compile *.el || die +} + +src_install() { + dodoc README.md + elisp-install "${PN}" *.el *.elc || die + elisp-site-file-install "sitefile/50${PN}-gentoo.el" || die +} + +pkg_postinst() { + elisp-site-regen +} + +pkg_postrm() { + elisp-site-regen +} |