forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app-emacs/editorconfig-emacs: add package
Package-Manager: portage-2.3.2
- Loading branch information
Showing
3 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
28
app-emacs/editorconfig-emacs/editorconfig-emacs-0.7.8.ebuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |