blob: 0c41994e27c73eb75a0fab46602a650f978de73e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit elisp
DESCRIPTION="EditorConfig plugin for emacs"
HOMEPAGE="https://github.com/editorconfig/${PN}/"
SRC_URI="https://github.com/editorconfig/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RESTRICT="test"
src_install() {
local site_file="${T}/50${PN}-gentoo.el"
echo "
(require 'editorconfig)
(editorconfig-mode 1)
" > "${site_file}" || die
elisp-site-file-install "${site_file}"
elisp_src_install
dodoc README.md
}
|