]> jturnerusa.dev Git - ebuilds/commitdiff
app-emacs/highlight-indentation: initial import
authorJohn Turner <jturner.usa+gentoo@gmail.com>
Wed, 3 Nov 2021 17:54:30 +0000 (13:54 -0400)
committerJohn Turner <jturner.usa+gentoo@gmail.com>
Wed, 3 Nov 2021 17:54:30 +0000 (13:54 -0400)
app-emacs/highlight-indentation/Manifest [new file with mode: 0644]
app-emacs/highlight-indentation/files/50highlight-indentation-gentoo.el [new file with mode: 0644]
app-emacs/highlight-indentation/highlight-indentation-0.7.0_p20210221.ebuild [new file with mode: 0644]

diff --git a/app-emacs/highlight-indentation/Manifest b/app-emacs/highlight-indentation/Manifest
new file mode 100644 (file)
index 0000000..1d11c3b
--- /dev/null
@@ -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 (file)
index 0000000..b58862f
--- /dev/null
@@ -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 (file)
index 0000000..27be090
--- /dev/null
@@ -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
+}