From: John Turner Date: Fri, 3 Dec 2021 01:00:24 +0000 (-0500) Subject: app-emacs/highlight-indentation: converted to live build X-Git-Url: https://jturnerusa.dev/gitweb/?a=commitdiff_plain;h=7aa438366d984f3d18d4ca17b22aa7ac42978a1e;p=ebuilds app-emacs/highlight-indentation: converted to live build --- diff --git a/app-emacs/highlight-indentation/highlight-indentation-0.7.0_p20210221.ebuild b/app-emacs/highlight-indentation/highlight-indentation-0.7.0_p20210221.ebuild deleted file mode 100644 index 27be090..0000000 --- a/app-emacs/highlight-indentation/highlight-indentation-0.7.0_p20210221.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit elisp - -DESCRIPTION="Highlighting indentation for Emacs" -# The latest github release is from 2015, but the latest commit is from Feb 2021, -# so I think it’s a good idea to use a snapshot here. -MY_COMMIT="d88db4248882da2d4316e76ed673b4ac1fa99ce3" -HOMEPAGE="https://github.com/antonj/Highlight-Indentation-for-Emacs" -SRC_URI="https://github.com/antonj/Highlight-Indentation-for-Emacs/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/Highlight-Indentation-for-Emacs-${MY_COMMIT}" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64" - -SITEFILE="50highlight-indentation-gentoo.el" -DOCS=( README.org ) - -src_compile() { - elisp-make-autoload-file "${S}"/${PN}-autoload.el "${S}"/ - elisp_src_compile -} diff --git a/app-emacs/highlight-indentation/highlight-indentation-9999.ebuild b/app-emacs/highlight-indentation/highlight-indentation-9999.ebuild new file mode 100644 index 0000000..603fc3d --- /dev/null +++ b/app-emacs/highlight-indentation/highlight-indentation-9999.ebuild @@ -0,0 +1,25 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit elisp git-r3 + +DESCRIPTION="Highlighting indentation for Emacs" +HOMEPAGE="https://github.com/antonj/Highlight-Indentation-for-Emacs" + +EGIT_REPO_URI="https://github.com/antonj/Highlight-Indentation-for-Emacs/" +EGIT_BRANCH="master" +EGIT_CHECKOUT_DIR="${WORKDIR}/${P}" +S="${EGIT_CHECKOUT_DIR}" + +LICENSE="GPL-2+" +SLOT="0" + +SITEFILE="50highlight-indentation-gentoo.el" +DOCS=( README.org ) + +src_compile() { + elisp-make-autoload-file "${S}"/${PN}-autoload.el "${S}"/ + elisp_src_compile +}