diff options
author | Ulrich Müller <ulm@gentoo.org> | 2020-03-07 23:47:28 +0100 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2020-03-07 23:49:40 +0100 |
commit | 2b2ad87e8666c981c5b4c54d6186fabbdd3b8e35 (patch) | |
tree | ecb32e3d3fcda5247a6728feac7ae0f094494db4 /app-xemacs/ebuild-mode/ebuild-mode-1.50.ebuild | |
parent | app-xemacs/ebuild-mode: Remove old. (diff) | |
download | gentoo-2b2ad87e8666c981c5b4c54d6186fabbdd3b8e35.tar.gz gentoo-2b2ad87e8666c981c5b4c54d6186fabbdd3b8e35.tar.bz2 gentoo-2b2ad87e8666c981c5b4c54d6186fabbdd3b8e35.zip |
app-xemacs/ebuild-mode: Version bump to 1.50.
Package-Manager: Portage-2.3.92, Repoman-2.3.20
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'app-xemacs/ebuild-mode/ebuild-mode-1.50.ebuild')
-rw-r--r-- | app-xemacs/ebuild-mode/ebuild-mode-1.50.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/app-xemacs/ebuild-mode/ebuild-mode-1.50.ebuild b/app-xemacs/ebuild-mode/ebuild-mode-1.50.ebuild new file mode 100644 index 000000000000..e3cf9789dead --- /dev/null +++ b/app-xemacs/ebuild-mode/ebuild-mode-1.50.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Emacs modes for editing ebuilds and other Gentoo specific files" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Emacs" +SRC_URI="https://dev.gentoo.org/~ulm/emacs/${P}.tar.xz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~x86" + +RDEPEND=">=app-editors/xemacs-21.4.20-r5 + app-xemacs/sh-script" +BDEPEND="${RDEPEND}" + +src_compile() { + local XEMACS="${EPREFIX}/usr/bin/xemacs" + + "${XEMACS}" -batch -q --no-site-file \ + -eval "(add-to-list 'load-path \".\")" \ + -f batch-byte-compile \ + ebuild-mode.el gentoo-newsitem-mode.el || die + + "${XEMACS}" -batch -q --no-site-file \ + -eval "(setq autoload-package-name \"${PN}\")" \ + -eval "(setq generated-autoload-file \"${S}/auto-autoloads.el\")" \ + -l autoload -f batch-update-autoloads \ + ebuild-mode.el gentoo-newsitem-mode.el || die +} + +src_install() { + insinto /usr/share/xemacs/site-packages/lisp/${PN} + doins *.el *.elc +} |