blob: 29f6a26054a573f51cc2f178a4781a883355bec4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit eutils versionator
DESCRIPTION="JavaScript IDE for client- and server-side development with Node.js"
HOMEPAGE="http://www.jetbrains.com/webstorm"
SRC_URI="http://download.jetbrains.com/${PN}/WebStorm-$(get_version_component_range 1-3).tar.gz"
LICENSE="WebStorm WebStorm_Academic WebStorm_Classroom WebStorm_OpenSource WebStorm_personal"
# This package cannot be slotted for now, bug #592636
#SLOT="$(get_major_version)"
SLOT="2017"
KEYWORDS="~amd64 ~x86"
IUSE=""
RESTRICT="bindist mirror splitdebug" #656858
RDEPEND=">=virtual/jdk-1.7"
S="${WORKDIR}/WebStorm-$(get_version_component_range 4-6)"
src_install() {
insinto "/opt/${PN}"
doins -r .
fperms 755 /opt/${PN}/bin/{${PN}.sh,fsnotifier{,64}}
make_wrapper "${PN}" "/opt/${PN}/bin/${PN}.sh"
newicon "bin/${PN}.svg" "${PN}.svg"
make_desktop_entry "${PN}" "${PN}" "${PN}" "Development;IDE;"
}
|