-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPKGBUILD
More file actions
66 lines (63 loc) · 1.81 KB
/
PKGBUILD
File metadata and controls
66 lines (63 loc) · 1.81 KB
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# Maintainer: Jason Go <jasongo@jasongo.net>
pkgname=specify-cli
pkgver=0.5.0
pkgrel=1
pkgdesc='Bootstrap and manage Spec Kit projects'
arch=('x86_64' 'aarch64')
url='https://github.com/github/spec-kit'
license=('MIT')
depends=(
'python'
'python-click'
'python-httpx'
'python-json5'
'python-packaging'
'python-pathspec'
'python-platformdirs'
'python-pyyaml'
'python-readchar'
'python-rich'
'python-truststore'
'python-typer'
)
makedepends=(
'git'
'python-build'
'python-installer'
'python-hatchling'
'python-wheel'
)
optdepends=(
'claude-code: Supported Agent'
'codebuddy-cli: Supported Agent'
'cursor-bin: Supported Agent, IDE-based'
'gemini-cli: Supported Agent'
'git-credential-manager-bin: For issues with Git authentication'
'iflow-cli: Supported Agent'
'kilocode-cli-bin: Supported Agent, IDE-based'
'kimi-cli: Supported Agent'
'kiro-cli: Supported Agent'
'mistral-vibe: Supported Agent'
'openai-codex: Supported Agent'
'opencode: Supported Agent'
'qodercli-bin: Suported Agent'
'pi-coding-agent: Supported Agent'
'qwen-code: Supported Agent'
'shai: Supported Agent'
'tabnine: Supported Agent'
'visual-studio-code-bin: Visual Studio Code'
'windsurf: Supported Agent, IDE-based'
)
options=(!debug)
source=("git+$url.git#tag=v$pkgver")
b2sums=('9934ac497f703b8eceef42416c5065ba4a20723d3824eb36b85de893aae2cf28d135e9212a1727abf20ac5e95b2de3a8c8427c03d8999403ad0edf6e18f6f0f0')
build() {
cd spec-kit
python -m build --wheel --no-isolation
}
package() {
cd spec-kit
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 -t "$pkgdir/usr/share/licenses/specify-cli/" LICENSE
install -Dm644 -t "$pkgdir/usr/share/doc/specify-cli/" {AGENTS.md,CHANGELOG.md,CODE_OF_CONDUCT.md,CONTRIBUTING.md,DEVELOPMENT.md,README.md,SECURITY.md,SUPPORT.md,spec-driven.md}
}