kprompt-git
maintainer zadkiel
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package builds from the official GitHub repository source with a SKIP'd checksum, which is common for git-based AUR packages; no remote code execution, obfuscated downloads, or untrusted binaries are involved.
Triggered rules
LOW
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
LOW
AI review
llm_review
An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is LOW (confidence 95%): The package builds from the official GitHub repository source with a SKIP'd checksum, which is common for git-based AUR packages; no remote code execution, obfuscated downloads, or untrusted binaries are involved.
PKGBUILD
1
# Maintainer: Zadkiel AHARONIAN <hello@zadkiel.fr>
2
# Repository: https://github.com/aslafy-z/aur-packages
3
4
# No `# renovate:` annotation: pkgver() derives the version from the checkout at
5
# build time, so there is no pinned version for Renovate to bump.
6
pkgname=kprompt-git
7
_pkgname=kprompt
8
pkgver=0.7.0.r44.g8869fc2
9
pkgrel=1
10
pkgdesc='AI Kubernetes CLI: natural language to a reviewable plan, applied after approval'
11
arch=('x86_64' 'aarch64')
12
url='https://kprompt.ai'
13
license=('Apache-2.0')
14
depends=('glibc')
15
makedepends=('git' 'go')
16
provides=("kprompt=${pkgver%%.r*}")
17
conflicts=('kprompt')
18
optdepends=('helm: plan Helm chart installs and upgrades')
19
# -trimpath rewrites every source path out of the binary, leaving the debug
20
# package with an empty usr/src/debug and a build-id symlink to nothing.
21
options=('!debug')
22
source=("${_pkgname}::git+https://github.com/kprompt/kprompt.git")
23
sha256sums=('SKIP')
24
25
pkgver() {
26
cd "${srcdir}/${_pkgname}"
27
28
git describe --long --tags --abbrev=7 |
29
sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
30
}
31
32
build() {
33
cd "${srcdir}/${_pkgname}"
34
35
# Upstream builds with CGO disabled. Arch's Go packaging guidelines are
36
# followed instead, so the binary gets the distribution hardening flags.
37
export CGO_CPPFLAGS="${CPPFLAGS}"
38
export CGO_CFLAGS="${CFLAGS}"
39
export CGO_CXXFLAGS="${CXXFLAGS}"
40
export CGO_LDFLAGS="${LDFLAGS}"
41
export GOFLAGS='-buildmode=pie -trimpath -mod=readonly -modcacherw'
42
43
go build \
44
-ldflags "-linkmode=external -X main.version=${pkgver}" \
45
-o build/kprompt \
46
./cmd/kprompt
47
}
48
49
check() {
50
cd "${srcdir}/${_pkgname}"
51
52
go test ./...
53
}
54
55
package() {
56
cd "${srcdir}/${_pkgname}"
57
58
install -D -m755 build/kprompt "${pkgdir}/usr/bin/kprompt"
59
60
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
61
install -D -m644 NOTICE "${pkgdir}/usr/share/licenses/${pkgname}/NOTICE"
62
install -D -m644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
63
64
local _shell
65
for _shell in bash zsh fish; do
66
build/kprompt completion "${_shell}" > "build/completion.${_shell}"
67
done
68
69
install -D -m644 build/completion.bash \
70
"${pkgdir}/usr/share/bash-completion/completions/kprompt"
71
install -D -m644 build/completion.zsh \
72
"${pkgdir}/usr/share/zsh/site-functions/_kprompt"
73
install -D -m644 build/completion.fish \
74
"${pkgdir}/usr/share/fish/vendor_completions.d/kprompt.fish"
75
}
76
Changes since previous scan
--- PKGBUILD @ 2026-07-29 00:25+++ PKGBUILD @ 2026-08-03 00:08@@ -5,7 +5,7 @@ # build time, so there is no pinned version for Renovate to bump. pkgname=kprompt-git _pkgname=kprompt-pkgver=0.6.0.r10.g7e73ecd+pkgver=0.7.0.r44.g8869fc2 pkgrel=1 pkgdesc='AI Kubernetes CLI: natural language to a reviewable plan, applied after approval' arch=('x86_64' 'aarch64')Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 03:19:42 | LOW | 2 |
| 2026-07-29 00:25:53 | CLEAN | 2 |
| 2026-07-28 15:39:03 | LOW | 1 |