summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElvis Pranskevichus <elvis@magic.io>2016-09-15 09:26:06 -0400
committerYixun Lan <dlan@gentoo.org>2016-09-20 14:12:21 +0800
commitcc228f0b0c7425a49d53e30577c37bfeea179722 (patch)
tree2e581b5fb1febd9288daa69157881e2d334b3a4c /app-eselect
parentdev-ruby/rb-readline: add 0.5.3 (diff)
downloadgentoo-cc228f0b0c7425a49d53e30577c37bfeea179722.tar.gz
gentoo-cc228f0b0c7425a49d53e30577c37bfeea179722.tar.bz2
gentoo-cc228f0b0c7425a49d53e30577c37bfeea179722.zip
app-eselect/eselect-electron: Eselect module for Electron
Package-Manager: portage-2.2.28 Signed-off-by: Yixun Lan <dlan@gentoo.org>
Diffstat (limited to 'app-eselect')
-rw-r--r--app-eselect/eselect-electron/Manifest1
-rw-r--r--app-eselect/eselect-electron/eselect-electron-1.0.0.ebuild26
-rw-r--r--app-eselect/eselect-electron/metadata.xml12
3 files changed, 39 insertions, 0 deletions
diff --git a/app-eselect/eselect-electron/Manifest b/app-eselect/eselect-electron/Manifest
new file mode 100644
index 000000000000..68c731d6add9
--- /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 000000000000..507e1a4eb08c
--- /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 000000000000..bcf60825de89
--- /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>elvis@magic.io</email>
+ <name>Elvis Pranskevichus</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+</pkgmetadata>