* Re: [PR PATCH] [Updated] New package: DataGrip-2019.3
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-17447@inbox.vuxu.org>
@ 2020-01-22 4:25 ` voidlinux-github
0 siblings, 0 replies; only message in thread
From: voidlinux-github @ 2020-01-22 4:25 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 334 bytes --]
There is an updated pull request by 2asoft against master on the void-packages repository
https://github.com/2asoft/void-packages 2asoft/jb_update_datagrip
https://github.com/void-linux/void-packages/pull/17447
New package: DataGrip-2019.3
A patch file from https://github.com/void-linux/void-packages/pull/17447.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-2asoft/jb_update_datagrip-17447.patch --]
[-- Type: text/x-diff, Size: 2367 bytes --]
From 0e2dbbf2ef587427e33aa16d5aa46ebc6d784867 Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Sun, 15 Dec 2019 00:25:32 -0800
Subject: [PATCH] New package: DataGrip-2019.3.1
---
srcpkgs/DataGrip/template | 56 +++++++++++++++++++++++++++++++++++++++
srcpkgs/DataGrip/update | 2 ++
2 files changed, 58 insertions(+)
create mode 100644 srcpkgs/DataGrip/template
create mode 100644 srcpkgs/DataGrip/update
diff --git a/srcpkgs/DataGrip/template b/srcpkgs/DataGrip/template
new file mode 100644
index 00000000000..1355b6b265f
--- /dev/null
+++ b/srcpkgs/DataGrip/template
@@ -0,0 +1,56 @@
+# Template file for 'DataGrip'
+pkgname=DataGrip
+version=2019.3.1
+revision=1
+archs="i686 x86_64"
+wrksrc="DataGrip-${version}"
+depends="jetbrains-jdk-bin"
+short_desc="Cross-Platform IDE for Databases & SQL by JetBrains"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/datagrip"
+distfiles="https://download.jetbrains.com/datagrip/datagrip-${version}.tar.gz"
+checksum=aae7090b2ee27c8ee9d8b9cbd70bdd64cdb08851de5621a2607d1661ba51fbc0
+repository=nonfree
+restricted=yes
+nopie=yes
+
+post_extract() {
+ # Remove files for other CPU architectures
+ rm -rf lib/pty4j-native/linux/ppc64le
+
+ case "$XBPS_TARGET_MACHINE" in
+ x86_64)
+ rm -rf bin/fsnotifier
+ rm -rf bin/datagrip.vmoptions
+ rm -rf lib/pty4j-native/linux/x86
+ ;;
+ i686)
+ rm -rf bin/fsnotifier64
+ rm -rf bin/datagrip64.vmoptions
+ rm -rf lib/pty4j-native/linux/x86_64
+ ;;
+ esac
+}
+
+do_install() {
+ TARGET_PATH="usr/lib/${pkgname}"
+
+ vmkdir usr/bin
+ vmkdir ${TARGET_PATH}
+
+ local i
+ for i in license/* ; do
+ vlicense $i
+ done
+
+ mkdir -p /usr/lib/jvm/jbrsdk
+ ln -sf /usr/lib/jvm/jbrsdk ${DESTDIR}/${TARGET_PATH}/jbr
+ vcopy bin ${TARGET_PATH}
+ vcopy lib ${TARGET_PATH}
+ vcopy plugins ${TARGET_PATH}
+ vcopy product-info.json ${TARGET_PATH}
+ vcopy build.txt ${TARGET_PATH}
+
+ ln -sf /${TARGET_PATH}/bin/datagrip.sh ${DESTDIR}/usr/bin/${pkgname}
+}
diff --git a/srcpkgs/DataGrip/update b/srcpkgs/DataGrip/update
new file mode 100644
index 00000000000..633d5453b19
--- /dev/null
+++ b/srcpkgs/DataGrip/update
@@ -0,0 +1,2 @@
+pattern="datagrip-\K[\d.]+(?=\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=DG&latest=true&type=release"
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-01-22 4:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-17447@inbox.vuxu.org>
2020-01-22 4:25 ` [PR PATCH] [Updated] New package: DataGrip-2019.3 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).