From f7b7f9f689c49faf5a7c8732df9284af2199d0a4 Mon Sep 17 00:00:00 2001 From: John Turner Date: Wed, 3 Nov 2021 13:54:30 -0400 Subject: [PATCH] app-emacs/highlight-indentation: initial import --- app-emacs/highlight-indentation/Manifest | 1 + .../files/50highlight-indentation-gentoo.el | 2 ++ ...ghlight-indentation-0.7.0_p20210221.ebuild | 26 +++++++++++++++++++ 3 files changed, 29 insertions(+) create mode 100644 app-emacs/highlight-indentation/Manifest create mode 100644 app-emacs/highlight-indentation/files/50highlight-indentation-gentoo.el create mode 100644 app-emacs/highlight-indentation/highlight-indentation-0.7.0_p20210221.ebuild diff --git a/app-emacs/highlight-indentation/Manifest b/app-emacs/highlight-indentation/Manifest new file mode 100644 index 0000000..1d11c3b --- /dev/null +++ b/app-emacs/highlight-indentation/Manifest @@ -0,0 +1 @@ +DIST highlight-indentation-0.7.0_p20210221.tar.gz 3848 BLAKE2B f337a9a326e3b246f31a5067a90c2f7227c2433524e82612e96d94c288d44bf353b20815d9b83647d73f37a6152ceda13d75a610b8c1fdfa89a33ec7f5d580e1 SHA512 44d2701d18d0df4a4beb29b6c710048496e7ce4cce3ab90ae06c17862ee86e5a67ef6eb6f66f7e4b8d3a6785560616827519ac9287ce4380ca59b3f4713c3164 diff --git a/app-emacs/highlight-indentation/files/50highlight-indentation-gentoo.el b/app-emacs/highlight-indentation/files/50highlight-indentation-gentoo.el new file mode 100644 index 0000000..b58862f --- /dev/null +++ b/app-emacs/highlight-indentation/files/50highlight-indentation-gentoo.el @@ -0,0 +1,2 @@ +(add-to-list 'load-path "@SITELISP@") +(load "@SITELISP@/highlight-indentation-autoload.el") 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 new file mode 100644 index 0000000..27be090 --- /dev/null +++ b/app-emacs/highlight-indentation/highlight-indentation-0.7.0_p20210221.ebuild @@ -0,0 +1,26 @@ +# 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 +} -- 2.39.5