commit:     cc228f0b0c7425a49d53e30577c37bfeea179722
Author:     Elvis Pranskevichus <elvis <AT> magic <DOT> io>
AuthorDate: Thu Sep 15 13:26:06 2016 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Tue Sep 20 06:12:21 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc228f0b

app-eselect/eselect-electron: Eselect module for Electron

Package-Manager: portage-2.2.28

Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 app-eselect/eselect-electron/Manifest              |  1 +
 .../eselect-electron/eselect-electron-1.0.0.ebuild | 26 ++++++++++++++++++++++
 app-eselect/eselect-electron/metadata.xml          | 12 ++++++++++
 3 files changed, 39 insertions(+)

diff --git a/app-eselect/eselect-electron/Manifest 
b/app-eselect/eselect-electron/Manifest
new file mode 100644
index 00000000..68c731d
--- /dev/null
+++ b/app-eselect/eselect-electron/Manifest
@@ -0,0 +1 @@
+DIST v1.0.0.tar.gz 9814 SHA256 
fb7fdf681d06d96e85b2e532809503d1d3efcdde6af005c2cef894c76c769c73 SHA512 
7356ec1f88befb5369b9fef08b77144f945c69c2ee79861887647fa0d23400f7ebfe8fc1ef6d62d59cab57a5eecb71e5fcc19cda27f89a468f6ca840100d8685
 WHIRLPOOL 
e912886b6598292e358bf1040bed791e32ce0289773539fa7d87d6d9bae6696fd962d0c5536fb30dc6dda23bf092b19efc906ede34c1f09b5e835f97f6b2f0a6

diff --git a/app-eselect/eselect-electron/eselect-electron-1.0.0.ebuild 
b/app-eselect/eselect-electron/eselect-electron-1.0.0.ebuild
new file mode 100644
index 00000000..507e1a4
--- /dev/null
+++ b/app-eselect/eselect-electron/eselect-electron-1.0.0.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+DESCRIPTION="Utility to select the default Electron slot"
+HOMEPAGE="https://www.gentoo.org/";
+SRC_URI="https://github.com/elprans/${PN}/archive/v${PV}.tar.gz";
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
+IUSE=""
+
+RDEPEND="app-admin/eselect"
+
+src_install() {
+       keepdir /etc/eselect/electron
+
+       insinto /usr/share/eselect/modules
+       doins electron.eselect
+}
+
+pkg_postinst() {
+       eselect electron update
+}

diff --git a/app-eselect/eselect-electron/metadata.xml 
b/app-eselect/eselect-electron/metadata.xml
new file mode 100644
index 00000000..bcf6082
--- /dev/null
+++ b/app-eselect/eselect-electron/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>el...@magic.io</email>
+               <name>Elvis Pranskevichus</name>
+       </maintainer>
+       <maintainer type="project">
+               <email>proxy-ma...@gentoo.org</email>
+               <name>Proxy Maintainers</name>
+       </maintainer>
+</pkgmetadata>

Reply via email to