Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] GoLand: update to 2020.1.
@ 2020-04-15  8:18 2asoft
  2020-04-15 14:41 ` [PR PATCH] [Merged]: " Hoshpak
  0 siblings, 1 reply; 2+ messages in thread
From: 2asoft @ 2020-04-15  8:18 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 324 bytes --]

There is a new pull request by 2asoft against master on the void-packages repository

https://github.com/2asoft/void-packages 2asoft/jb_update_goland
https://github.com/void-linux/void-packages/pull/21003

GoLand: update to 2020.1.


A patch file from https://github.com/void-linux/void-packages/pull/21003.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-2asoft/jb_update_goland-21003.patch --]
[-- Type: text/x-diff, Size: 1628 bytes --]

From 98cbbc43568fd0a9f644b4123d99c9c20ac17057 Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Wed, 15 Apr 2020 01:18:36 -0700
Subject: [PATCH] GoLand: update to 2020.1.

---
 srcpkgs/GoLand/template | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/GoLand/template b/srcpkgs/GoLand/template
index 50bd34ae389..e0bb8b2bade 100644
--- a/srcpkgs/GoLand/template
+++ b/srcpkgs/GoLand/template
@@ -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}"
 }

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Merged]: GoLand: update to 2020.1.
  2020-04-15  8:18 [PR PATCH] GoLand: update to 2020.1 2asoft
@ 2020-04-15 14:41 ` Hoshpak
  0 siblings, 0 replies; 2+ messages in thread
From: Hoshpak @ 2020-04-15 14:41 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 159 bytes --]

There's a merged pull request on the void-packages repository

GoLand: update to 2020.1.
https://github.com/void-linux/void-packages/pull/21003

Description:


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-04-15 14:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-15  8:18 [PR PATCH] GoLand: update to 2020.1 2asoft
2020-04-15 14:41 ` [PR PATCH] [Merged]: " Hoshpak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).