From 734a6f3b31938fd9f1f73b6baf5ac3c02f784848 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 8 Nov 2016 13:26:01 -0800 Subject: app-emacs/editorconfig-emacs: add package Package-Manager: portage-2.3.2 --- app-emacs/editorconfig-emacs/Manifest | 1 + .../editorconfig-emacs-0.7.8.ebuild | 28 ++++++++++++++++++++++ app-emacs/editorconfig-emacs/metadata.xml | 10 ++++++++ 3 files changed, 39 insertions(+) create mode 100644 app-emacs/editorconfig-emacs/Manifest create mode 100644 app-emacs/editorconfig-emacs/editorconfig-emacs-0.7.8.ebuild create mode 100644 app-emacs/editorconfig-emacs/metadata.xml (limited to 'app-emacs/editorconfig-emacs') 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 @@ + + + + + editorconfig/editorconfig-emacs + + + zmedico@gentoo.org + + -- cgit v1.2.3-65-gdbad