models
LOW
maintainer shbernal
0 votes
scanned 2026-10-29 17:53:05.425985
Why flagged
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
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.
PKGBUILD
1
# Maintainer: shbernal <shbernal.01@gmail.com>
2
3
pkgname=models
4
pkgver=0.14.1
5
pkgrel=1
6
pkgdesc='TUI and CLI for browsing AI models, benchmarks, coding agents and provider statuses'
7
arch=('x86_64' 'aarch64')
8
url='https://github.com/reyamira/models'
9
license=('MIT')
10
depends=('glibc' 'libgcc')
11
makedepends=('cargo')
12
options=('!lto')
13
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz")
14
sha256sums=('74361e3fde193772cd0db2ce4c9394487e437c4d7e416ebfafb0af661291d58a')
15
16
prepare() {
17
cd "${pkgname}-${pkgver}"
18
19
export RUSTUP_TOOLCHAIN=stable
20
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
21
}
22
23
build() {
24
cd "${pkgname}-${pkgver}"
25
26
export RUSTUP_TOOLCHAIN=stable
27
export CARGO_TARGET_DIR=target
28
cargo build --frozen --release
29
30
local shell
31
for shell in bash fish zsh; do
32
target/release/models completions "${shell}" > "completions.${shell}"
33
done
34
}
35
36
check() {
37
cd "${pkgname}-${pkgver}"
38
39
export RUSTUP_TOOLCHAIN=stable
40
cargo test --frozen
41
}
42
43
package() {
44
cd "${pkgname}-${pkgver}"
45
46
install -Dm755 target/release/models "${pkgdir}/usr/bin/models"
47
install -Dm644 completions.bash "${pkgdir}/usr/share/bash-completion/completions/models"
48
install -Dm644 completions.fish "${pkgdir}/usr/share/fish/vendor_completions.d/models.fish"
49
install -Dm644 completions.zsh "${pkgdir}/usr/share/zsh/site-functions/_models"
50
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
51
install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
52
}
53
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-29 17:53:05 | Low | 1 |