diff options
| author | Liguros - Gitlab CI/CD [feature/flatten] <gitlab@liguros.net> | 2020-07-01 14:18:03 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [feature/flatten] <gitlab@liguros.net> | 2020-07-01 14:18:03 +0000 |
| commit | fb6ffa5e6e2e05267623d09239d10327c35fa8c4 (patch) | |
| tree | de239dab4f4e0097f772d2c02f88c5cd40541d2f /dev-util/rubymine | |
| parent | d8787bc1ff136d4f231e24cc9fcbd89bb3d11842 (diff) | |
| download | srcux-fb6ffa5e6e2e05267623d09239d10327c35fa8c4.tar.gz srcux-fb6ffa5e6e2e05267623d09239d10327c35fa8c4.tar.xz srcux-fb6ffa5e6e2e05267623d09239d10327c35fa8c4.zip | |
Updating liguros repo
Diffstat (limited to 'dev-util/rubymine')
| -rw-r--r--[l---------] | dev-util/rubymine/rubymine-2020.1.2.ebuild | 68 |
1 files changed, 67 insertions, 1 deletions
diff --git a/dev-util/rubymine/rubymine-2020.1.2.ebuild b/dev-util/rubymine/rubymine-2020.1.2.ebuild index d382339f9a41..948c65c7c475 120000..100644 --- a/dev-util/rubymine/rubymine-2020.1.2.ebuild +++ b/dev-util/rubymine/rubymine-2020.1.2.ebuild @@ -1 +1,67 @@ -rubymine-9999.ebuild
\ No newline at end of file +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit gnome2-utils xdg + +DESCRIPTION="The most intelligent Ruby and Rails IDE." +HOMEPAGE="https://www.jetbrains.com/rubymine" +LICENSE="JetBrains" + +SLOT="0" + +BDEPEND=" + app-arch/tar +" + +RDEPEND=" + virtual/jdk +" + +RESTRICT="bindist mirror splitdebug strip" + +if [[ ${PV} != 9999 ]]; then + SRC_URI="https://download.jetbrains.com/ruby/RubyMine-${PV}.tar.gz" + KEYWORDS="*" +fi + +S="${WORKDIR}/${PN}-${PV}" + +src_unpack() { + default + mv "${WORKDIR}"/RubyMine* "${S}" || die "Failed to move/rename source dir" +} + +src_prepare() { + default + + # Remove any bundled Java + rm -rf {jbr,jre{64}} || die "Failed to remove bundled Java" +} + +src_install() { + + insinto "/opt/${PN}" + doins -r * + + fperms 755 /opt/${PN}/bin/{format.sh,rubymine.sh,printenv.py,restart.py,fsnotifier{,64}} + + dosym ../../opt/${PN}/bin/rubymine.sh /usr/bin/${PN} + + newicon "bin/${PN}.png" "${PN}.png" + make_desktop_entry "${PN}" "RubyMine" "${PN}" "Development;Programming;IDE;" + + # recommended by: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit + mkdir -p "${D}/etc/sysctl.d/" || die + echo "fs.inotify.max_user_watches = 524288" > "${D}/etc/sysctl.d/30-idea-inotify-watches.conf" || die +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_icon_cache_update +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_icon_cache_update +} |
