ayagami-git

LOW
maintainer fbf-prog64 1 votes scanned 2026-11-02 04:02:15.556644
View on AUR
Why flagged

The package builds from the project's own Git repository, which is normal for AUR development packages; the low severity is due to few votes and recent upload, not malicious content.

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 project's own Git repository, which is normal for AUR development packages; the low severity is due to few votes and recent upload, not malicious content.

PKGBUILD

1# Maintainer: Felipe BF <fprgw32 at gmail dot com>
2
3_basename=ayagami
4pkgname="${_basename}-git"
5pkgver=0.1.0r0.0d1d7aa
6pkgrel=1
7pkgdesc="A 2D puppet model renderer compatible with Live2D (development version)"
8arch=('x86_64')
9url="https://github.com/AyagamiDev/${_basename}"
10license=('Apache-2.0 OR MIT')
11depends=('libgcc' 'glibc')
12makedepends=('git' 'cargo' 'yq')
13install="${_basename}.install"
14
15source=("${pkgname}::git+${url}.git#branch=main")
16sha256sums=('SKIP')
17
18pkgver() {
19 cd "${srcdir}/${pkgname}"
20
21 # No tags yet!
22 local projver=$(tomlq '.package.version' "${_basename}/Cargo.toml" | tr -d '"')
23 git describe --all --long | sed "s/\-/.r/;s/\-g/./;s|^heads/main.|$projver|"
24
25 # Tags in place
26 # git describe --tags --long | sed "s/\-/.r/;s/\-g/./"
27}
28
29prepare() {
30 cd "${srcdir}/${pkgname}"
31
32 export RUSTUP_TOOLCHAIN=stable
33
34 # Non-reproducible: no lock file in repo.
35 cargo update
36
37 cargo fetch --locked --target host-tuple
38}
39
40build() {
41 cd "${srcdir}/${pkgname}"
42
43 export RUSTUP_TOOLCHAIN=stable
44 export CARGO_TARGET_DIR=target
45
46 cargo build --frozen --release --all-features
47}
48
49package() {
50 cd "${srcdir}/${pkgname}"
51
52 # No Rust rlibs are packed because of their nature!
53
54 # C libraries
55 for l in \
56 libayagami libayagami_render
57 do
58 install -Dm644 "target/release/${l}.so" "${pkgdir}/usr/lib/${_basename}/${l}.so"
59 done
60
61 # Demo executables
62 for e in \
63 load-model ayagami-demo demo_renderer
64 do
65 install -Dm755 "target/release/$e" "${pkgdir}/usr/bin/$e"
66 done
67
68 # Documentation
69 install -Dm644 "README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
70
71 # Licenses
72 for p in \
73 APACHE MIT
74 do
75 install -Dm644 "LICENSE-${p}" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-${p}"
76 done
77}
78
79

Scan history

Scanned at (UTC)SeverityRules
2026-11-02 04:02:15 Low 2

Report a package

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

0 / 4000
Your suggestion