blob: e2ff571fe2b3470101fe65016b0ca7d169b36ee7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# 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=2018.3.3
_pkgver=183.5153.36
pkgrel=1
pkgdesc='Lightweight and Smart PHP IDE'
arch=('x86_64' 'i686')
license=('Commercial')
url='https://www.jetbrains.com/phpstorm/'
makedepends=('rsync')
options=('!strip')
source=(https://download.jetbrains.com/webide/PhpStorm-${pkgver}.tar.gz
jetbrains-phpstorm.desktop)
sha512sums=('e8a17cff15001c522d1a562d61eaefb36730e4db55faed62e7f880ac498de30f0819f145c2723b4220b484ff654d40df6c966a43ad59bf58055afd3544574b7a'
'fe312d7c637ec20bd946f2e22681243a51f29afc1052ae3fe5afd0fe01f77c222bf1e2c98f0afad8d5385466215653b7ffa8718da05b6dac100ba768ff2be1d6')
package_phpstorm() {
optdepends=('phpstorm-jre: JetBrains custom Java Runtime (Recommended)'
'java-runtime: JRE - Required if phpstorm-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/"
rsync -rtl "${srcdir}/PhpStorm-${_pkgver}/" "${pkgdir}/opt/${pkgbase}" --exclude=/jre64
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}.png" "${pkgdir}/usr/share/pixmaps/${pkgbase}.png"
}
package_phpstorm-jre() {
install -d -m 755 "${pkgdir}/opt/${pkgbase}"
rsync -rtl "${srcdir}/PhpStorm-${_pkgver}/jre64" "${pkgdir}/opt/${pkgbase}"
}
|