phpstorm 2026.1

PHP IDE for Professional Development

Не проверено
 1name=phpstorm
 2version=2026.1
 3release=1
 4summary="PHP IDE for Professional Development"
 5group="Development/Tools"
 6desc="This is a community package of WebStorm and not officially supported
 7by JetBrains s.r.o.
 8
 9PhpStorm is a PHP IDE that actually 'gets' your code.
10It supports PHP 5.3-8.2, provides on-the-fly error prevention,
11the best autocompletion and code refactoring, zero-configuration debugging,
12and an extended HTML, CSS, and JavaScript editor.
13
14PhpStorm is available for a free 30-day evaluation.
15
16Monthly and yearly subscription options are available for companies
17and individual users.
18Find out more on https://www.jetbrains.com/phpstorm/buy/"
19maintainer="Oleg Shchavelev <oleg@alt-gnome.ru>"
20architectures=("amd64")
21homepage="https://www.jetbrains.com/$name/"
22license=("custom")
23appstream_app_id="com.jetbrains.PhpStorm"
24nonfree=1
25nonfree_url="https://www.jetbrains.com/legal/docs/toolbox/user/"
26sfe_249_new_extractor=1
27
28provides=()
29conflicts=(
30	"phpstorm"
31)
32
33_jb_name=$name
34_jb_code="webide/PhpStorm"
35
36sources=(
37	"https://download-cdn.jetbrains.com/$_jb_code-$version.tar.gz"
38	"local:///phpstorm.desktop"
39)
40
41checksums=(
42	sha256:3a949cfd78389d687d5d1a5537c14b695d46c33f246ccf92f56564dbb8c9ee06
43	sha256:aa9f39fbadfd561b502cc4cb2d916851c853a04b5c509a5de5a58b1f33ccdafe
44)
45
46auto_req_filter=(
47	"ld-linux-aarch64\.so\.1"
48)
49
50auto_reqprov_method=dirty
51auto_req=1
52auto_prov=1
53
54disable_network=1
55
56prepare() {
57	mv PhpStorm-* $_jb_name
58}
59
60package() {
61	mkdir -p "$pkgdir/opt/$_jb_name"
62	cp -r "$srcdir/$_jb_name"* "$pkgdir/opt/"
63
64	install -dm 755 "$pkgdir/usr/bin/"
65	ln -s "/opt/$_jb_name/bin/$_jb_name" "$pkgdir/usr/bin/$_jb_name"
66
67	install-desktop "$_jb_name.desktop"
68	install -Dm644 "$pkgdir/opt/$_jb_name/bin/$_jb_name.png" "$pkgdir/usr/share/pixmaps/$_jb_name.png"
69}
70
71files() {
72	files-find \
73		"/opt/$_jb_name" \
74		"/opt/$_jb_name/**/*" \
75		"/usr/share/pixmaps/$_jb_name.png"
76
77	files-find-binary \
78		"$_jb_name"
79
80	files-find-desktop \
81		"$_jb_name.desktop"
82}