blob: f3086893be5e38d8e3fb07e104591dc5b7e9762f (
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
# Maintainer: Janek Thomaschewski <janek[at]artos-hosting[dot]de>
# Contributor: Axel Navarro <navarroaxel[at]gmail[dot]com>
# Contributor: Testuser_01 <arch[at]nico-siebler[dot]de>
# Contributor: Pablo Vilas <pablovilas89[at]gmail[dot]com>
pkgbase=webstorm-eap
pkgname=(webstorm-eap webstorm-eap-jre)
_pkgname=WebStorm
pkgver=243.21565.180
_pkgver=2024.3
pkgrel=1
pkgdesc="JavaScript IDE and HTML editor. Early Access Program."
arch=('x86_64')
options=('!strip')
url="http://www.jetbrains.com/webstorm"
license=('custom')
source=(https://download.jetbrains.com/webstorm/${_pkgname}-${_pkgver}.tar.gz
jetbrains-webstorm-eap.desktop
${_pkgname}_license.txt)
sha256sums=('23858c20f84a10f3be6ac05cdb03a47e6862fabbf4a748ecef7902f882a9e935'
'd66b0401d6132ff24bd422a824436dd8f33b47619149659f8567980d71c6e34f'
'8464fc766dbb4f6a0de4acd84007fc2916b50ca48ce7d22654144f549c8c6f4c')
prepare() {
cd "${srcdir}/${_pkgname}-${pkgver}"
rm Install-Linux-tar.txt
rm help/ReferenceCardForMac.pdf
}
package_webstorm-eap() {
optdepends=('webstorm-eap-jre: JetBrains custom Java Runtime (Recommended)'
'java-runtime: JRE - Required if webstorm-eap-jre is not installed')
cd "${srcdir}"
mkdir -p "${pkgdir}/opt/${pkgname}"
cp --recursive ${srcdir}/${_pkgname}-${pkgver}/* "${pkgdir}/opt/${pkgname}"
rm -rf "${pkgdir}"/opt/${pkgbase}/jbr
mkdir -p "${pkgdir}/usr/bin"
mkdir -p "${pkgdir}/usr/share/applications"
mkdir -p "${pkgdir}/usr/share/pixmaps"
mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}"
install -m 644 "jetbrains-${pkgname}.desktop" "${pkgdir}/usr/share/applications"
install -m 644 "${pkgdir}/opt/${pkgname}/bin/webstorm.svg" "${pkgdir}/usr/share/pixmaps/${pkgname}.svg"
install -m 644 "${_pkgname}_license.txt" "${pkgdir}/usr/share/licenses/${pkgname}/${_pkgname}_license.txt"
ln -s "/opt/${pkgname}/bin/webstorm" "${pkgdir}/usr/bin/${pkgname}"
}
package_webstorm-eap-jre() {
pkgdesc="JBR (JetBrains Runtime) for WebStorm EAP - a patched JRE"
url='https://github.com/JetBrains/JetBrainsRuntime'
install -dm755 "${pkgdir}"/opt/${pkgbase}
cp -a "${srcdir}/${_pkgname}-${pkgver}/jbr" "${pkgdir}/opt/${pkgbase}"
}
|