Skip to content

Commit

Permalink
app-emacs/editorconfig-emacs: add package
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.3.2
  • Loading branch information
zmedico committed Nov 8, 2016
1 parent d0fb126 commit 734a6f3
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
1 change: 1 addition & 0 deletions app-emacs/editorconfig-emacs/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST editorconfig-emacs-0.7.8.tar.gz 28250 SHA256 3abb4bc349a50fc84f7cc006a355edd773cd21d5a728fb0cb64eac80fa948ff6 SHA512 21815a5a778ffef68b5205e409aa827c1bd6c9a8c542647ebec889a9f00f5b3f71e3a2072bc2f0373e8ce30c1bb57f5f6350953a3c149742a8e2e46ca9846c9a WHIRLPOOL f5fd5d66d075a57204bcad0eae6a4569cf17f1eb77b1d89873e5d3f645dd3241a4cceaefbe8918753d8cec83969f335993f57ce169bac9fbbefc5208482c6ea2
28 changes: 28 additions & 0 deletions app-emacs/editorconfig-emacs/editorconfig-emacs-0.7.8.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

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
}
10 changes: 10 additions & 0 deletions app-emacs/editorconfig-emacs/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<upstream>
<remote-id type="github">editorconfig/editorconfig-emacs</remote-id>
</upstream>
<maintainer type="person">
<email>[email protected]</email>
</maintainer>
</pkgmetadata>

0 comments on commit 734a6f3

Please sign in to comment.