Skip to content

Commit

Permalink
app-eselect/eselect-electron: Eselect module for Electron
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.28

Signed-off-by: Yixun Lan <[email protected]>
  • Loading branch information
elprans authored and dlan17 committed Sep 20, 2016
1 parent 1db96fe commit cc228f0
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
1 change: 1 addition & 0 deletions app-eselect/eselect-electron/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST v1.0.0.tar.gz 9814 SHA256 fb7fdf681d06d96e85b2e532809503d1d3efcdde6af005c2cef894c76c769c73 SHA512 7356ec1f88befb5369b9fef08b77144f945c69c2ee79861887647fa0d23400f7ebfe8fc1ef6d62d59cab57a5eecb71e5fcc19cda27f89a468f6ca840100d8685 WHIRLPOOL e912886b6598292e358bf1040bed791e32ce0289773539fa7d87d6d9bae6696fd962d0c5536fb30dc6dda23bf092b19efc906ede34c1f09b5e835f97f6b2f0a6
26 changes: 26 additions & 0 deletions app-eselect/eselect-electron/eselect-electron-1.0.0.ebuild
Original file line number Diff line number Diff line change
@@ -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
}
12 changes: 12 additions & 0 deletions app-eselect/eselect-electron/metadata.xml
Original file line number Diff line number Diff line change
@@ -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>[email protected]</email>
<name>Elvis Pranskevichus</name>
</maintainer>
<maintainer type="project">
<email>[email protected]</email>
<name>Proxy Maintainers</name>
</maintainer>
</pkgmetadata>

0 comments on commit cc228f0

Please sign in to comment.