Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: jetbrains-jdk-11-11.0.4.520.2
@ 2019-10-19 19:54 voidlinux-github
  2019-10-19 19:58 ` [PR PATCH] [Updated] " voidlinux-github
                   ` (22 more replies)
  0 siblings, 23 replies; 24+ messages in thread
From: voidlinux-github @ 2019-10-19 19:54 UTC (permalink / raw)
  To: ml

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

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

https://github.com/2asoft/void-packages 2asoft/jetbrains-jre
https://github.com/void-linux/void-packages/pull/15629

New package: jetbrains-jdk-11-11.0.4.520.2
Package name is `jetbrains-jdk-11`.
Version is `11.0.4 build 520.2`.
The `-11` is part of package name because there is also a JDK 8 by JetBrains.
If there is a way to publish multiple disjoint versions of a package by the same name, (eg a jetbrains-jdk v8 and a v11), I would appreciate a pointer so I could change the template here. 

The sources for this are available at the "homepage" location.
Ideally, we should build the sources to JetBrainsd JDK, however, I do not currently have the time to setup that build.
There is such a package in AUR in Arch Linux, it could be used as an example.

Once this is merged, I will also update PR #11736 to depend on this jdk.



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

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

From 28118d8052a57facbe9fb696ec6a8e4cfa5cc86c Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Sat, 19 Oct 2019 10:36:50 -0700
Subject: [PATCH] New package: jetbrains-jdk-11-11.0.4.520.2

---
 srcpkgs/jetbrains-jdk-11/template | 39 +++++++++++++++++++++++++++++++
 srcpkgs/jetbrains-jdk-11/update   |  3 +++
 2 files changed, 42 insertions(+)
 create mode 100644 srcpkgs/jetbrains-jdk-11/template
 create mode 100644 srcpkgs/jetbrains-jdk-11/update

diff --git a/srcpkgs/jetbrains-jdk-11/template b/srcpkgs/jetbrains-jdk-11/template
new file mode 100644
index 00000000000..1dc9cf5aafc
--- /dev/null
+++ b/srcpkgs/jetbrains-jdk-11/template
@@ -0,0 +1,39 @@
+# Template file for 'jetbrains-jdk-11'
+
+_jdk_build=520.2
+_jdk_fullver="11.0.4"
+archive_name="jbrsdk-${_jdk_fullver//\./_}-linux-x64-b${_jdk_build}.tar.gz"
+
+pkgname=jetbrains-jdk-11
+version="${_jdk_fullver}b${_jdk_build}"
+revision=1
+archs="x86_64"
+wrksrc="jbrsdk"
+hostmakedepends="aria2"
+depends=""
+short_desc="JetBrains Java 11 JDK"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="GPL-2.0+CE"
+homepage="https://github.com/JetBrains/JetBrainsRuntime"
+distfiles="https://dl.bintray.com/jetbrains/intellij-jbr/${archive_name}"
+checksum=690307a7bde2ae6ee11f245d8064bfa928bb6b03240ce75caebcb6002c934472
+nopie=yes
+# This JDK appears to link to libs that do not exist, but still continues to function well even in their absence.
+# Best guess is that they are optional. ¯\_(ツ)_/¯
+noverifyrdeps=yes
+
+fetch_cmd="aria2c -c"
+
+do_install() {
+	TARGET_PATH="usr/lib/jvm/jbrsdk-11"
+
+	vmkdir ${TARGET_PATH}
+
+	vcopy bin ${TARGET_PATH}
+	vcopy conf ${TARGET_PATH}
+	vcopy include ${TARGET_PATH}
+	vcopy jmods ${TARGET_PATH}
+	vcopy legal ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy release ${TARGET_PATH}
+}
diff --git a/srcpkgs/jetbrains-jdk-11/update b/srcpkgs/jetbrains-jdk-11/update
new file mode 100644
index 00000000000..251f1bcb8f9
--- /dev/null
+++ b/srcpkgs/jetbrains-jdk-11/update
@@ -0,0 +1,3 @@
+version=b${version#*b}
+pattern="jbrsdk-\d+_\d+_\d+-(?:linux-x64-)\Kb\d+\.\d+(?=\.tar\.gz</a>)"
+site="https://bintray.com/package/files/jetbrains/intellij-jbr/jbrsdk11-linux-x64"

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

end of thread, other threads:[~2019-11-09 19:58 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-19 19:54 [PR PATCH] New package: jetbrains-jdk-11-11.0.4.520.2 voidlinux-github
2019-10-19 19:58 ` [PR PATCH] [Updated] " voidlinux-github
2019-10-19 19:58 ` voidlinux-github
2019-10-19 20:01 ` voidlinux-github
2019-10-19 20:01 ` voidlinux-github
2019-10-25  2:29 ` voidlinux-github
2019-10-25  2:29 ` voidlinux-github
2019-10-25  4:16 ` [PR PATCH] [Updated] New package: jetbrains-jdk-11-bin-11.0.4b546.9 voidlinux-github
2019-10-25  4:16 ` voidlinux-github
2019-10-26 14:04 ` voidlinux-github
2019-10-26 14:04 ` voidlinux-github
2019-10-26 14:25 ` New package: jetbrains-jdk-11-bin-11.0.5b562.2 voidlinux-github
2019-10-26 16:31 ` voidlinux-github
2019-10-26 21:10 ` [PR PATCH] [Updated] " voidlinux-github
2019-10-26 21:10 ` voidlinux-github
2019-10-26 21:11 ` New package: jetbrains-jdk-bin-11.0.5b562.2 voidlinux-github
2019-10-26 21:19 ` [PR PATCH] [Updated] " voidlinux-github
2019-10-26 21:19 ` voidlinux-github
2019-10-26 21:32 ` voidlinux-github
2019-10-26 21:32 ` voidlinux-github
2019-10-31  3:32 ` voidlinux-github
2019-10-31  3:32 ` voidlinux-github
2019-11-09  6:05 ` [PR PATCH] [Updated] New package: jetbrains-jdk-bin-11.0.5b569.2 voidlinux-github
2019-11-09 19:58 ` voidlinux-github

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).