Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: PhpStorm-2019.1.3
@ 2019-06-25  6:41 voidlinux-github
  2019-07-08 17:34 ` voidlinux-github
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: voidlinux-github @ 2019-06-25  6:41 UTC (permalink / raw)
  To: ml

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

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

https://github.com/shizonic/void-packages PhpStorm
https://github.com/void-linux/void-packages/pull/12670

New package: PhpStorm-2019.1.3


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-PhpStorm-12670.patch --]
[-- Type: application/text/x-diff, Size: 2867 bytes --]

From 83b66a09327bee628b88fa7de798e30dedfdfe27 Mon Sep 17 00:00:00 2001
From: Toby Merz <realtiaz@gmail.com>
Date: Tue, 25 Jun 2019 08:21:21 +0200
Subject: [PATCH] New package: PhpStorm-2019.1.3

---
 srcpkgs/PhpStorm/INSTALL.msg |  2 ++
 srcpkgs/PhpStorm/template    | 60 ++++++++++++++++++++++++++++++++++++
 srcpkgs/PhpStorm/update      |  2 ++
 3 files changed, 64 insertions(+)
 create mode 100644 srcpkgs/PhpStorm/INSTALL.msg
 create mode 100644 srcpkgs/PhpStorm/template
 create mode 100644 srcpkgs/PhpStorm/update

diff --git a/srcpkgs/PhpStorm/INSTALL.msg b/srcpkgs/PhpStorm/INSTALL.msg
new file mode 100644
index 00000000000..dff34ec410a
--- /dev/null
+++ b/srcpkgs/PhpStorm/INSTALL.msg
@@ -0,0 +1,2 @@
+PhpStorm has the following optional dependencies:
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/PhpStorm/template b/srcpkgs/PhpStorm/template
new file mode 100644
index 00000000000..df82d2cf078
--- /dev/null
+++ b/srcpkgs/PhpStorm/template
@@ -0,0 +1,60 @@
+# Template file for 'PhpStorm'
+pkgname=PhpStorm
+version=2019.1.3
+revision=1
+archs="i686 x86_64"
+wrksrc="PhpStorm-191.7479.51"
+depends="virtual?java-environment"
+short_desc="Lightning-smart PHP IDE"
+maintainer="shizonic <realtiaz@gmail.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/phpstorm"
+distfiles="https://download.jetbrains.com/webide/PhpStorm-${version}.tar.gz"
+checksum=3eb8d0f15a5100ee08ab17c0d17388d68733187c46c4ac9c079efbeeed6bd912
+repository=nonfree
+restricted=yes
+nopie=yes
+
+post_extract() {
+	# Remove files for other CPU architectures
+	rm -rf bin/fsnotifier-arm
+	rm -rf lib/pty4j-native/linux/ppc64le
+
+	case "$XBPS_TARGET_MACHINE" in
+		x86_64)
+			rm -rf bin/fsnotifier
+			rm -rf bin/phpstorm.vmoptions
+			rm -rf bin/libyjpagent-linux.so
+			rm -rf lib/pty4j-native/linux/x86
+			;;
+		i686)
+			rm -rf bin/fsnotifier64
+			rm -rf bin/phpstorm64.vmoptions
+			rm -rf bin/libyjpagent-linux64.so
+			rm -rf lib/pty4j-native/linux/x86_64
+			;;
+	esac
+
+	rm -rf jre64
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/${pkgname}"
+	LICENSE_PATH="usr/share/licenses/${pkgname}"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+	vmkdir ${LICENSE_PATH}
+
+	# Ideally vlicense should be called here, but vcopy is more terse.
+	vcopy license/* ${LICENSE_PATH}
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${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/phpstorm.sh ${DESTDIR}/usr/bin/${pkgname}
+}
diff --git a/srcpkgs/PhpStorm/update b/srcpkgs/PhpStorm/update
new file mode 100644
index 00000000000..6b5922efaf6
--- /dev/null
+++ b/srcpkgs/PhpStorm/update
@@ -0,0 +1,2 @@
+pattern="PhpStorm-\K[\d.]+(?=\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=PS&latest=true&type=release"

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

end of thread, other threads:[~2020-03-30 19:54 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-25  6:41 [PR PATCH] New package: PhpStorm-2019.1.3 voidlinux-github
2019-07-08 17:34 ` voidlinux-github
2019-07-08 19:37 ` voidlinux-github
2019-07-15  1:33 ` voidlinux-github
2020-03-05 17:06 ` 2asoft
2020-03-25 17:54 ` Chocimier
2020-03-30 19:54 ` Chocimier
2020-03-30 19:54 ` [PR PATCH] [Closed]: " Chocimier

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