diff --git a/srcpkgs/WebStorm/template b/srcpkgs/WebStorm/template index 8b5e3aa7540..7910fd06eeb 100644 --- a/srcpkgs/WebStorm/template +++ b/srcpkgs/WebStorm/template @@ -1,16 +1,16 @@ # Template file for 'WebStorm' pkgname=WebStorm -version=2019.3.3 +version=2019.3.4 revision=1 archs="i686 x86_64" -wrksrc="WebStorm-193.6494.34" +wrksrc="WebStorm-193.6911.28" depends="jetbrains-jdk-bin" short_desc="Smartest JavaScript IDE" maintainer="Anton Afanasyev " license="custom:Commercial" homepage="https://www.jetbrains.com/webstorm" distfiles="https://download.jetbrains.com/webstorm/WebStorm-${version}.tar.gz" -checksum=0545013ec607f6c4d8dc73a335cb4cecfda8f16568f5950b8de499342fe6f0ac +checksum=31981728c735145f8ef356fef5f32d57f9b37fc8ccfa5f72715c884a72496560 repository=nonfree restricted=yes nopie=yes @@ -49,8 +49,8 @@ do_install() { vlicense $i done - mkdir -p /usr/lib/jvm/jbrsdk - ln -sf /usr/lib/jvm/jbrsdk ${DESTDIR}/${TARGET_PATH}/jbr + local launcher_path="bin/webstorm.sh" + sed -i '1 s/$/\nWEBIDE_JDK=${WEBIDE_JDK:-${IDEA_JDK}}/' "${launcher_path}" vcopy bin ${TARGET_PATH} vcopy help ${TARGET_PATH} vcopy lib ${TARGET_PATH} @@ -58,5 +58,5 @@ do_install() { vcopy product-info.json ${TARGET_PATH} vcopy build.txt ${TARGET_PATH} - ln -sf /${TARGET_PATH}/bin/webstorm.sh ${DESTDIR}/usr/bin/${pkgname} + ln -sf "/${TARGET_PATH}/${launcher_path}" "${DESTDIR}/usr/bin/${pkgname}" }