blob: a7b20eeeb43b977f40ed2daf21e9643cc6a9ca83 (
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
|
# Maintainer: Walwe <aur@walwe.de>
# Contributor: Mark Gross <mark.gross2001@gmail.com>
pkgname=jetbrains-resharper-commandlinetools
pkgver=2024.2.6
pkgrel=2
pkgdesc="JetBrains ReSharper Command Line Tools"
arch=('x86_64')
url="https://www.jetbrains.com/resharper"
license=('custom:jetbrains')
depends=('dotnet-sdk')
source=("https://download-cdn.jetbrains.com/resharper/dotUltimate.${pkgver}/JetBrains.ReSharper.CommandLineTools.${pkgver}.zip")
sha256sums=('b71d9d2c4793ef293107d1c01fdaa887179311a9a3b44c81e7f42328b1689447')
prepare() {
# patch scripts to reference the correct directory
sed -Ei 's/\$\(dirname "\$0"\)/"\/opt\/'"$pkgname"'"/g' "$srcdir/cleanupcode.sh" "$srcdir/inspectcode.sh"
}
package() {
install -d "$pkgdir/opt/$pkgname"
cp -r "$srcdir/"* "$pkgdir/opt/$pkgname"
# create symlinks in /usr/bin
install -d "$pkgdir/usr/bin"
ln -s "/opt/$pkgname/cleanupcode.sh" "$pkgdir/usr/bin/cleanupcode"
ln -s "/opt/$pkgname/inspectcode.sh" "$pkgdir/usr/bin/inspectcode"
}
# vim:set ts=2 sw=2 et:
|