blob: fc090ded37e9e5d31bb0433f2363ccbccb965947 (
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
40
41
42
43
44
45
46
47
|
# Maintainer: Arunachalam (Tamilnadu) <arunachalamthehacker@gmail.com>
# LUNA CLI - AI Coding Assistant for LUNA OS X
pkgname=luna-cli
pkgver=0.2.3
pkgrel=1
pkgdesc="Arunachalam presents Luna CLI: A modern TUI in Ink. Built for open-source enthusiasts in Tamilnadu, India."
arch=('x86_64' 'aarch64')
url="https://github.com/Arunachalam-gojosaturo/Luna-cli"
license=('MIT')
depends=(
'python>=3.10'
'python-typer>=0.9'
'python-rich>=13'
'python-textual>=0.30'
'python-prompt_toolkit>=3'
'python-httpx>=0.24'
'python-websockets>=11'
'python-pydantic>=2'
'python-dotenv>=1'
'python-aiofiles>=23'
'python-gitpython>=3.1'
'python-colorama>=0.4'
'python-shellingham>=1.5'
'python-platformdirs>=3.10'
)
optdepends=(
'groq: Groq AI provider support'
'python-openai: OpenAI provider support'
'python-google-generativeai: Google Gemini support'
)
makedepends=('python-build' 'python-installer' 'python-wheel' 'python-setuptools')
source=("https://github.com/Arunachalam-gojosaturo/Luna-cli/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('SKIP')
build() {
cd "Luna-cli-${pkgver}"
python -m build --wheel --no-isolation
}
package() {
cd "Luna-cli-${pkgver}"
python -m installer --destdir="$pkgdir" dist/*.whl
# Install license
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" 2>/dev/null || true
}
|