From 59e28253b5679c693771510abd5b6a715976ad3f Mon Sep 17 00:00:00 2001 From: Anton Afanasyev Date: Wed, 15 Apr 2020 01:24:38 -0700 Subject: [PATCH] RubyMine: update to 2020.1. --- srcpkgs/RubyMine/template | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/srcpkgs/RubyMine/template b/srcpkgs/RubyMine/template index 5076b93a1ee..ec2878d3724 100644 --- a/srcpkgs/RubyMine/template +++ b/srcpkgs/RubyMine/template @@ -1,15 +1,15 @@ # Template file for 'RubyMine' pkgname=RubyMine -version=2019.3 +version=2020.1 revision=1 archs="i686 x86_64" -depends="virtual?java-environment" +depends="jetbrains-jdk-bin" short_desc="Most intelligent Ruby and Rails IDE" maintainer="Anton Afanasyev " license="custom:Commercial" homepage="https://www.jetbrains.com/ruby" distfiles="https://download.jetbrains.com/ruby/RubyMine-${version}.tar.gz" -checksum=f268a08d92e57362410f5089b9151ada776198a21f49c1096df0b20b948c79f7 +checksum=d1958da2b77bea5b007858b7ea8d8b7d016a0b18b7d72471e2ce46221c9966c2 repository=nonfree restricted=yes nopie=yes @@ -46,6 +46,8 @@ do_install() { vlicense $i done + local launcher_path="bin/rubymine.sh" + sed -i '1 s/$/\nRUBYMINE_JDK=${RUBYMINE_JDK:-${IDEA_JDK}}/' "${launcher_path}" vcopy bin ${TARGET_PATH} vcopy help ${TARGET_PATH} vcopy lib ${TARGET_PATH} @@ -53,6 +55,5 @@ do_install() { vcopy product-info.json ${TARGET_PATH} vcopy build.txt ${TARGET_PATH} - - ln -sf /${TARGET_PATH}/bin/rubymine.sh ${DESTDIR}/usr/bin/${pkgname} + ln -sf "/${TARGET_PATH}/${launcher_path}" "${DESTDIR}/usr/bin/${pkgname}" }