merman

CLEAN
maintainer agony4001 0 votes scanned 2026-10-29 00:13:55.229276
View on AUR

Triggered rules

Clean AI review downgraded a static finding llm_review

The static rules flagged this LOW, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it CLEAN (confidence 95%): The package builds from source hosted on GitHub at a tagged release, uses standard Rust tooling, and installs only the resulting binaries and associated data; no remote code execution, obfuscation, or untrusted dependencies are present.

1 higher static finding superseded - not the current verdict (shown for transparency)
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: agony <27015 at riseup dot net>
2
3pkgname=merman
4pkgver=0.9.2
5pkgrel=1
6pkgdesc='Mermaid.js, but headless, in Rust'
7arch=('x86_64' 'aarch64')
8url='https://github.com/Latias94/merman'
9license=('MIT OR Apache-2.0')
10depends=('glibc' 'libgcc')
11makedepends=('cargo')
12options=('!lto')
13source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz")
14sha256sums=('423fd38280312c90bcb525ae214998497f935a3a8d3715d1b8bfc555084c076d')
15
16prepare() {
17 cd "${pkgname}-${pkgver}"
18 export RUSTUP_TOOLCHAIN=stable
19 cargo fetch --locked --target host-tuple
20}
21
22build() {
23 cd "${pkgname}-${pkgver}"
24 export RUSTUP_TOOLCHAIN=stable
25 export CARGO_TARGET_DIR=target
26 cargo build --frozen --release -p merman-cli
27 cargo build --frozen --release -p merman-lsp --features all-diagrams,stdio
28}
29
30check() {
31 cd "${pkgname}-${pkgver}"
32 export RUSTUP_TOOLCHAIN=stable
33 export CARGO_TARGET_DIR=target
34 # The skipped test scans the host fonts and fails above 16 MiB of cmap tables
35 cargo test --frozen --release -p merman-cli -- \
36 --skip system_fonts_require_explicit_native_measurement_or_system_opt_in
37 cargo test --frozen --release -p merman-lsp --features all-diagrams,stdio
38}
39
40package() {
41 cd "${pkgname}-${pkgver}"
42 install -Dm755 target/release/merman-cli target/release/merman-lsp -t "${pkgdir}/usr/bin"
43 install -Dm644 LICENSE-MIT -t "${pkgdir}/usr/share/licenses/${pkgname}"
44 cd crates/merman-cli/assets
45 install -Dm644 completions/merman-cli.bash "${pkgdir}/usr/share/bash-completion/completions/merman-cli"
46 install -Dm644 completions/merman-cli.fish -t "${pkgdir}/usr/share/fish/vendor_completions.d"
47 install -Dm644 completions/_merman-cli -t "${pkgdir}/usr/share/zsh/site-functions"
48 install -Dm644 man/*.1 -t "${pkgdir}/usr/share/man/man1"
49}
50

Scan history

Scanned at (UTC)SeverityRules
2026-10-29 00:13:55 Clean 2
2026-10-28 21:50:44 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