models

LOW
maintainer shbernal 0 votes scanned 2026-10-29 17:53:05.425985
View on AUR
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
3pkgname=models
4pkgver=0.14.1
5pkgrel=1
6pkgdesc='TUI and CLI for browsing AI models, benchmarks, coding agents and provider statuses'
7arch=('x86_64' 'aarch64')
8url='https://github.com/reyamira/models'
9license=('MIT')
10depends=('glibc' 'libgcc')
11makedepends=('cargo')
12options=('!lto')
13source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz")
14sha256sums=('74361e3fde193772cd0db2ce4c9394487e437c4d7e416ebfafb0af661291d58a')
15
16prepare() {
17 cd "${pkgname}-${pkgver}"
18
19 export RUSTUP_TOOLCHAIN=stable
20 cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
21}
22
23build() {
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
36check() {
37 cd "${pkgname}-${pkgver}"
38
39 export RUSTUP_TOOLCHAIN=stable
40 cargo test --frozen
41}
42
43package() {
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)SeverityRules
2026-10-29 17:53:05 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion