blob: dc9da271d77f7928cf136ea15d3d1c9e56efb82e (
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
|
# Maintainer: LightDot <lightdot -a-t- server.si>
pkgname=roo-code-gemini-cli
_pkgname=roo-code
pkgver=3.29.3
pkgrel=1
pkgdesc="A whole dev team of LLM agents in your VS Code, Cursor or other compatible editor. Patched to add gemini-cli as a LLM provider."
arch=('any')
url="https://github.com/RooCodeInc/Roo-Code"
license=('Apache-2.0')
makedepends=('nodejs' 'npm' 'pnpm')
optdepends=('gemini-cli' 'qwen-code')
provides=('roo-code')
conflicts=('roo-code')
source=("${_pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz"
'roo-code-5223_gemini-cli.diff')
sha256sums=('9ddeba52b4538a6fe25a3c0b68e9738ab49f63351a52245398f139b4c26509c8'
'f04a25f4a47869301511ceb3dd67bf7811c78bdb0c75ba098bcc0137eb375519')
install=${_pkgname}.install
prepare() {
cd "Roo-Code-${pkgver}"
# https://github.com/RooCodeInc/Roo-Code/pull/5223/files reverted
patch -p1 -i ../roo-code-5223_gemini-cli.diff
}
build() {
cd "Roo-Code-$pkgver"
pnpm install
pnpm vsix
}
package() {
install -Dm644 "Roo-Code-${pkgver}/bin/roo-cline-${pkgver}.vsix" "${pkgdir}/usr/share/${_pkgname}/roo-cline-$pkgver.vsix"
}
|