diff options
Diffstat (limited to 'dev-util/rubymine/rubymine-2019.3.4.ebuild')
-rw-r--r-- | dev-util/rubymine/rubymine-2019.3.4.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/dev-util/rubymine/rubymine-2019.3.4.ebuild b/dev-util/rubymine/rubymine-2019.3.4.ebuild new file mode 100644 index 0000000..3ba7d4c --- /dev/null +++ b/dev-util/rubymine/rubymine-2019.3.4.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2019 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit eutils versionator + +SLOT="$(get_major_version)" +RDEPEND=">=virtual/jdk-1.7" + +MY_PN="RubyMine" +MY_PV="$(get_version_component_range 1-3)" +RESTRICT="strip" +QA_TEXTRELS="opt/${P}/bin/libbreakgen.so" + +DESCRIPTION="The most intelligent Ruby and Rails IDE" +HOMEPAGE="http://jetbrains.com/ruby/" +SRC_URI="http://download.jetbrains.com/ruby/${MY_PN}-${MY_PV}.tar.gz" +LICENSE="all-rights-reserved" +IUSE="" +KEYWORDS="~amd64 ~x86" +S=${WORKDIR}/${MY_PN}-${MY_PV} + +src_install() { + local dir="/opt/${P}" + local exe="${PN}-${SLOT}" + + insinto "${dir}" + doins -r * + fperms 755 "${dir}/bin/${PN}.sh" "${dir}/bin/rinspect.sh" "${dir}/bin/fsnotifier" "${dir}/bin/fsnotifier64" + + newicon "bin/${PN}.png" "${exe}.png" + make_wrapper "${exe}" "/opt/${P}/bin/${PN}.sh" + make_desktop_entry ${exe} "RubyMine ${MY_PV}" "${exe}" "Development;IDE" +} |