summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorfrederik2019-09-12 22:17:52 +0200
committerfrederik2019-09-12 22:17:52 +0200
commitf4e051ce04eede2d6a034f3363e8f9507195d58b (patch)
tree6c4846e47c715c562adc7e4f46f8ed989599ff59
parent295f029e326f632b6b5035f950c27403f38b4b8f (diff)
downloadaur-f4e051ce04ee.tar.gz
upgpkg: phpstorm 2019.2.2b192.6603.42-1
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD18
2 files changed, 11 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ca6464a184d..a8d1af6197a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = phpstorm
pkgdesc = Lightweight and Smart PHP IDE
- pkgver = 2019.2.1
+ pkgver = 2019.2.2b192.6603.42
pkgrel = 1
url = https://www.jetbrains.com/phpstorm/
arch = x86_64
@@ -8,9 +8,9 @@ pkgbase = phpstorm
license = Commercial
makedepends = rsync
options = !strip
- source = https://download.jetbrains.com/webide/PhpStorm-2019.2.1.tar.gz
+ source = https://download.jetbrains.com/webide/PhpStorm-2019.2.2.tar.gz
source = jetbrains-phpstorm.desktop
- sha512sums = 734a48d703809ae7fd35a05af3f9e5009730683c579e93baed0ea6f19195e77af6249efdb5cbfd7dcc59fe06a03c0c7cf8966e4094d83e774cc37bf4bd45ca95
+ sha512sums = 25979367e999ad7c5fd7f1c9763156370d52f36bf41d911969f33f2e32bf11a87792b091feab474b43039e64433c10c7ca6704868b0f152041d92c297ad7ba31
sha512sums = b10edd04a7d48641bec7a9e23037510b426acb5a3059267b2081ec0fce41272d8de413f0b4c1dddd3387bb0ce330c48b3f7894f4817973cd6d32a74a14af3528
pkgname = phpstorm
diff --git a/PKGBUILD b/PKGBUILD
index b933498321f..6c3c9206dc3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,13 +1,8 @@
# Maintainer: Frederik Schwan <frederik dot schwan at linux dot com>
-# Contributor: Vlad M. <vlad@archlinux.net>
-# Contributor: Attila Bukor <r1pp3rj4ck[at]w4it[dot]eu>
-# Contributor: D. Can Celasun <dcelasun[at]gmail[dot]com>
-# Contributor: Slava Volkov <sv99sv[at]gmail[dot]com>
pkgbase=phpstorm
pkgname=(phpstorm phpstorm-jre)
-pkgver=2019.2.1
-_pkgver=192.6262.66
+pkgver=2019.2.2b192.6603.42
pkgrel=1
pkgdesc='Lightweight and Smart PHP IDE'
arch=('x86_64' 'i686')
@@ -15,10 +10,13 @@ license=('Commercial')
url='https://www.jetbrains.com/phpstorm/'
makedepends=('rsync')
options=('!strip')
-source=(https://download.jetbrains.com/webide/PhpStorm-${pkgver}.tar.gz
+source=(https://download.jetbrains.com/webide/PhpStorm-${pkgver%b*}.tar.gz
jetbrains-phpstorm.desktop)
-sha512sums=('734a48d703809ae7fd35a05af3f9e5009730683c579e93baed0ea6f19195e77af6249efdb5cbfd7dcc59fe06a03c0c7cf8966e4094d83e774cc37bf4bd45ca95'
+sha512sums=('25979367e999ad7c5fd7f1c9763156370d52f36bf41d911969f33f2e32bf11a87792b091feab474b43039e64433c10c7ca6704868b0f152041d92c297ad7ba31'
'b10edd04a7d48641bec7a9e23037510b426acb5a3059267b2081ec0fce41272d8de413f0b4c1dddd3387bb0ce330c48b3f7894f4817973cd6d32a74a14af3528')
+pkgver() {
+ echo ${pkgver%b*}b$(find ${srcdir} -maxdepth 1 -type d | tail -1 | cut -d "-" -f2)
+}
package_phpstorm() {
optdepends=('phpstorm-jre: JetBrains custom Java Runtime (Recommended)'
@@ -31,7 +29,7 @@ package_phpstorm() {
install -d -m 755 "${pkgdir}/usr/share/applications/"
install -d -m 755 "${pkgdir}/usr/share/pixmaps/"
- rsync -rtl "${srcdir}/PhpStorm-${_pkgver}/" "${pkgdir}/opt/${pkgbase}" --exclude=/jbr
+ rsync -rtl "${srcdir}/PhpStorm-${pkgver#*b}/" "${pkgdir}/opt/${pkgbase}" --exclude=/jbr
ln -s "/opt/${pkgbase}/bin/${pkgbase}.sh" "${pkgdir}/usr/bin/${pkgbase}"
install -D -m 644 "${srcdir}/jetbrains-${pkgbase}.desktop" "${pkgdir}/usr/share/applications/"
@@ -40,5 +38,5 @@ package_phpstorm() {
package_phpstorm-jre() {
install -d -m 755 "${pkgdir}/opt/${pkgbase}"
- rsync -rtl "${srcdir}/PhpStorm-${_pkgver}/jbr" "${pkgdir}/opt/${pkgbase}"
+ rsync -rtl "${srcdir}/PhpStorm-${pkgver#*b}/jbr" "${pkgdir}/opt/${pkgbase}"
}