summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorfrederik2019-10-31 01:36:40 +0100
committerfrederik2019-10-31 01:36:40 +0100
commit72b7e1dd1822887a6828fcad6cf0a49fa0b8359e (patch)
tree399e35a7e35ba807e3819881d0ce5a629e378d48 /PKGBUILD
parente88f23116a3899e07e53230008c14a168f556524 (diff)
downloadaur-72b7e1dd1822887a6828fcad6cf0a49fa0b8359e.tar.gz
upgpkg: webstorm 2019.2.4b192.7142.35-1
Diffstat (limited to 'PKGBUILD')
-rwxr-xr-xPKGBUILD30
1 files changed, 17 insertions, 13 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 7288c528e8c..6f1823bbb36 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,17 +4,17 @@
pkgbase=webstorm
pkgname=(webstorm webstorm-jre)
-pkgver=2019.2.3b192.6817.13
+pkgver=2019.2.4b192.7142.35
pkgrel=1
pkgdesc='JavaScript IDE and HTML editor.'
arch=('x86_64' 'i686')
url='https://www.jetbrains.com/webstorm/'
license=('Commercial')
-makedepends=('rsync')
+depends=('glib2')
options=('!strip')
source=(https://download.jetbrains.com/webstorm/WebStorm-${pkgver%b*}.tar.gz
jetbrains-webstorm.desktop)
-sha512sums=('06b6a7b5b4282a7571590364ef8eeaaae57f5acfca1af12de02620069ef017cc941de3c1f75d36bebcef7194dc33f19f25bdabbbd0c192ea39c72134aa93315a'
+sha512sums=('acbafd2173122928fc433df4e4bf66ec9c67d79b9acd8fae22b5a446c90e06a14182ff93e0ecfc51419e59a9650bb64dd3de1a13d151c476becd977ddd30fa5e'
'3635b8b6787aae583742e95de7d26d0f80b857f48143898e5963f219d1d4ec8b4cb8e37ce3f058324bb5a253b883c2610be848e883576896c67030e9a36be7e6')
pkgver() {
@@ -26,19 +26,23 @@ package_webstorm() {
'java-runtime: JRE - Required if webstorm-jre is not installed'
'gnome-keyring: save login/deployment credentials safely')
- install -d -m 755 "${pkgdir}/opt/"
- install -d -m 755 "${pkgdir}/usr/bin/"
- install -d -m 755 "${pkgdir}/usr/share/applications/"
- install -d -m 755 "${pkgdir}/usr/share/pixmaps/"
+ install -dm755 "${pkgdir}"/opt/
+ install -dm755 "${pkgdir}"/usr/bin/
+ install -dm755 "${pkgdir}"/usr/share/applications/
+ install -dm755 "${pkgdir}"/usr/share/pixmaps/
- rsync -rtl "${srcdir}/WebStorm-${pkgver#*b}/" "${pkgdir}/opt/${pkgbase}" --exclude=/jbr
+ cp -a "${srcdir}"/WebStorm-${pkgver#*b}/ "${pkgdir}"/opt/${pkgbase}
+ rm -rf "${pkgdir}"/opt/${pkgbase}/jbr
- ln -s "/opt/${pkgbase}/bin/${pkgbase}.sh" "${pkgdir}/usr/bin/${pkgbase}"
- install -D -m 644 "${srcdir}/jetbrains-${pkgbase}.desktop" "${pkgdir}/usr/share/applications/"
- install -D -m 644 "${pkgdir}/opt/${pkgbase}/bin/${pkgbase}.svg" "${pkgdir}/usr/share/pixmaps/${pkgbase}.svg"
+ ln -s /opt/${pkgbase}/bin/${pkgbase}.sh "${pkgdir}"/usr/bin/${pkgbase}
+ install -m644 "${srcdir}"/jetbrains-${pkgbase}.desktop "${pkgdir}"/usr/share/applications/
+ install -m644 "${pkgdir}"/opt/${pkgbase}/bin/${pkgbase}.svg "${pkgdir}"/usr/share/pixmaps/${pkgbase}.svg
}
package_webstorm-jre() {
- install -d -m 755 "${pkgdir}/opt/${pkgbase}"
- rsync -rtl "${srcdir}/WebStorm-${pkgver#*b}/jbr" "${pkgdir}/opt/${pkgbase}"
+ pkgdesc='JBR (JetBrains Runtime) for WebStorm - a patched JDK'
+ url='https://confluence.jetbrains.com/display/JBR/JetBrains+Runtime'
+
+ install -dm755 "${pkgdir}"/opt/${pkgbase}
+ cp -a "${srcdir}"/WebStorm-${pkgver#*b}/jbr "${pkgdir}"/opt/${pkgbase}
}