Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: [PR PATCH] New package: PhpStorm-2019.1.3
Date: Tue, 25 Jun 2019 08:41:48 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-12670@inbox.vuxu.org> (raw)

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

             reply	other threads:[~2019-06-25  6:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-25  6:41 voidlinux-github [this message]
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

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-12670@inbox.vuxu.org \
    --to=voidlinux-github@inbox.vuxu.org \
    --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).