rider 2026.1.2

A cross-platform .NET IDE by JetBrains

Не проверено
 1name=rider
 2version=2026.1.2
 3release=1
 4summary="A cross-platform .NET IDE by JetBrains"
 5group="Development/Tools"
 6desc="
 7This wrapper is not verified by, affiliated with, or supported
 8by JetBrains s.r.o.
 9
10Rider supports .NET Framework, the new cross-platform .NET Core, and Mono based
11projects. This lets you develop a wide range of applications including
12.NET desktop applications, services and libraries, Unity games, Xamarin apps,
13ASP.NET, and ASP.NET Core web applications.
14
15Rider provides 2200+ live code inspections, hundreds of context actions and
16refactorings brought by ReSharper, and combines them with the IntelliJ
17platform's solid IDE features. Despite a heavy feature set, Rider is designed
18to be fast and responsive.
19
20As well as running and debugging multiple runtimes, Rider itself runs on
21multiple platforms: Windows, macOS, and Linux.
22"
23maintainer="Oleg Shchavelev <oleg@alt-gnome.ru>"
24architectures=("amd64")
25homepage="https://www.jetbrains.com/$name/"
26license=("custom")
27appstream_app_id="com.jetbrains.Rider"
28nonfree=1
29nonfree_url="https://www.jetbrains.com/legal/docs/toolbox/user/"
30
31conflicts=(
32	"rider"
33)
34
35_jb_name=$name
36_jb_code="$name/JetBrains.${name^}"
37
38sources=(
39	"https://download-cdn.jetbrains.com/$_jb_code-$version.tar.gz"
40	"local:///rider.desktop"
41)
42
43checksums=(
44	sha256:3a6cac6865c6331c4001adaaac7bd7f325c8c092d4eed286f3f1011a1af9e440
45	sha256:9ee6e78fddb0689cb6a90717f3b28ac2089f20a35ac2399b2784d62bf6145d58
46)
47
48auto_reqprov_method=dirty
49auto_req=1
50auto_prov=1
51auto_req_filter=(
52	"libc\.musl-.*\.so"
53	"ld-linux-.*\.so"
54)
55
56disable_network=1
57
58prepare() {
59	mv "JetBrains Rider-$version" "$_jb_name"
60}
61
62package() {
63	mkdir -p "$pkgdir/opt/$_jb_name"
64	cp -r "$srcdir/$_jb_name" "$pkgdir/opt/"
65
66	install -dm 755 "$pkgdir/usr/bin/"
67	ln -s "/opt/$_jb_name/bin/$_jb_name" "$pkgdir/usr/bin/$_jb_name"
68
69	install-desktop "$_jb_name.desktop"
70	install -Dm644 "$pkgdir/opt/$_jb_name/bin/$_jb_name.png" \
71		"$pkgdir/usr/share/pixmaps/$_jb_name.png"
72
73	# RPM glob engine treats [...] as char classes - delete VSIX metadata
74	find "$pkgdir" -name "*Content_Types*.xml" -delete
75}
76
77files() {
78	files-find \
79		"/opt/$_jb_name" \
80		"/opt/$_jb_name/**/*" \
81		"/usr/share/pixmaps/$_jb_name.png"
82
83	files-find-binary \
84		"$_jb_name"
85
86	files-find-desktop \
87		"$_jb_name.desktop"
88}