GoLand: update to 2020.1.

This commit is contained in:
Anton Afanasyev 2020-04-15 01:18:36 -07:00 committed by Helmut Pozimski
parent a8199548cc
commit d31128d4ca

View file

@ -1,15 +1,15 @@
# Template file for 'GoLand'
pkgname=GoLand
version=2019.3
version=2020.1
revision=1
archs="i686 x86_64"
depends="virtual?java-environment"
depends="jetbrains-jdk-bin"
short_desc="Cross-platform IDE built specially for Go developers"
maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
license="custom:Commercial"
homepage="https://www.jetbrains.com/go"
distfiles="https://download.jetbrains.com/go/goland-${version}.tar.gz"
checksum=a1bb4e9e61bdcc19e1a8d7303909057e5582a7735d1d5ccce833073d7faf33af
checksum=c63de783facbf8d96eb6714240218c3c320fdbda1ddaa965f7fe72ecf6e897e2
repository=nonfree
restricted=yes
nopie=yes
@ -46,6 +46,8 @@ do_install() {
vlicense $i
done
local launcher_path="bin/goland.sh"
sed -i '1 s/$/\nGOLAND_JDK=${GOLAND_JDK:-${IDEA_JDK}}/' "${launcher_path}"
vcopy bin ${TARGET_PATH}
vcopy help ${TARGET_PATH}
vcopy lib ${TARGET_PATH}
@ -53,5 +55,5 @@ do_install() {
vcopy product-info.json ${TARGET_PATH}
vcopy build.txt ${TARGET_PATH}
ln -sf /${TARGET_PATH}/bin/goland.sh ${DESTDIR}/usr/bin/${pkgname}
ln -sf "/${TARGET_PATH}/${launcher_path}" "${DESTDIR}/usr/bin/${pkgname}"
}