Github messages for voidlinux
 help / color / mirror / Atom feed
From: 2asoft <2asoft@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] GoLand: update to 2020.1.
Date: Wed, 15 Apr 2020 10:18:57 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-21003@inbox.vuxu.org> (raw)

[-- 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}"
 }

             reply	other threads:[~2020-04-15  8:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-15  8:18 2asoft [this message]
2020-04-15 14:41 ` [PR PATCH] [Merged]: " Hoshpak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-21003@inbox.vuxu.org \
    --to=2asoft@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).