blob: d21aaad238ce9b2df48c542356736dfb5211258b (
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
|
# Maintainer: Tim Hellhake
pkgname=rider
pkgver='2024.3'
pkgrel=1
epoch=1
pkgdesc='A cross-platform .NET IDE by JetBrains.'
arch=('x86_64' 'aarch64')
options=('!strip' 'staticlibs')
url='https://www.jetbrains.com/rider/'
license=('Commercial')
makedepends=('gendesk')
optdepends=('mono: .NET runtime' 'msbuild: build .NET Core projects')
provides=('rider')
conflicts=('rider')
_installdir='/usr/share'
_pkgdir="JetBrains Rider-${pkgver}"
_srcfile="JetBrains.Rider-${pkgver}"
source_x86_64=("https://download-cf.jetbrains.com/rider/${_srcfile}.tar.gz")
sha256sums_x86_64=('ef9b61c18851b6f3ef2bfa3fe147b34ac191622f65a41f2b53b3a609f9bff360')
source_aarch64=("https://download-cf.jetbrains.com/rider/${_srcfile}-aarch64.tar.gz")
sha256sums_aarch64=('d1b9b3925ad79f50239f11c72f9d4f3ed52716251d54a3340e3aaf63f813d79e')
package() {
cd "${srcdir}"
install -d -m755 "${pkgdir}${_installdir}"
cp -a "$_pkgdir" "${pkgdir}${_installdir}/${pkgname}"
chown -R root:root "${pkgdir}${_installdir}/${pkgname}"
install -d -m755 "$pkgdir"/usr/bin
ln -s "${_installdir}/${pkgname}"/bin/rider.sh "${pkgdir}"/usr/bin/"${pkgname}"
install -d -m755 "$pkgdir"/usr/share/applications
gendesk -f -n --pkgname "$pkgname" --pkgdesc "$pkgdesc" --exec "${_installdir}/${pkgname}/bin/rider.sh %f" --icon "${_installdir}/${pkgname}/bin/rider.png"
echo "StartupWMClass=jetbrains-rider" >> "${pkgname}.desktop"
install -m644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications"
}
|