summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2016-11-08 13:26:01 -0800
committerZac Medico <zmedico@gentoo.org>2016-11-08 13:27:03 -0800
commit734a6f3b31938fd9f1f73b6baf5ac3c02f784848 (patch)
tree8647ec67b370a44dac09afa084f95bc4c22feff1 /app-emacs
parentdev-util/bless: remove unused patch (diff)
downloadgentoo-734a6f3b31938fd9f1f73b6baf5ac3c02f784848.tar.gz
gentoo-734a6f3b31938fd9f1f73b6baf5ac3c02f784848.tar.bz2
gentoo-734a6f3b31938fd9f1f73b6baf5ac3c02f784848.zip
app-emacs/editorconfig-emacs: add package
Package-Manager: portage-2.3.2
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/editorconfig-emacs/Manifest1
-rw-r--r--app-emacs/editorconfig-emacs/editorconfig-emacs-0.7.8.ebuild28
-rw-r--r--app-emacs/editorconfig-emacs/metadata.xml10
3 files changed, 39 insertions, 0 deletions
diff --git a/app-emacs/editorconfig-emacs/Manifest b/app-emacs/editorconfig-emacs/Manifest
new file mode 100644
index 000000000000..4cbc72d5745c
--- /dev/null
+++ b/app-emacs/editorconfig-emacs/Manifest
@@ -0,0 +1 @@
+DIST editorconfig-emacs-0.7.8.tar.gz 28250 SHA256 3abb4bc349a50fc84f7cc006a355edd773cd21d5a728fb0cb64eac80fa948ff6 SHA512 21815a5a778ffef68b5205e409aa827c1bd6c9a8c542647ebec889a9f00f5b3f71e3a2072bc2f0373e8ce30c1bb57f5f6350953a3c149742a8e2e46ca9846c9a WHIRLPOOL f5fd5d66d075a57204bcad0eae6a4569cf17f1eb77b1d89873e5d3f645dd3241a4cceaefbe8918753d8cec83969f335993f57ce169bac9fbbefc5208482c6ea2
diff --git a/app-emacs/editorconfig-emacs/editorconfig-emacs-0.7.8.ebuild b/app-emacs/editorconfig-emacs/editorconfig-emacs-0.7.8.ebuild
new file mode 100644
index 000000000000..6013a290abb8
--- /dev/null
+++ b/app-emacs/editorconfig-emacs/editorconfig-emacs-0.7.8.ebuild
@@ -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
+}
diff --git a/app-emacs/editorconfig-emacs/metadata.xml b/app-emacs/editorconfig-emacs/metadata.xml
new file mode 100644
index 000000000000..14acb12060dd
--- /dev/null
+++ b/app-emacs/editorconfig-emacs/metadata.xml
@@ -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>zmedico@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>