shuvarie
LOW
maintainer chardoncs
0 votes
scanned 2026-09-17 05:24:46.293726
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: Charles Dong <chardon_cs@proton.me>
2
3
pkgname=shuvarie
4
pkgver=0.1.0
5
pkgrel=1
6
epoch=
7
pkgdesc="Blazingly fast AI coding TUI for chivalrous people"
8
arch=("x86_64" "aarch64")
9
url="https://shuvarie.org/"
10
license=('MIT')
11
groups=()
12
depends=(glibc)
13
makedepends=(rust cargo clang lld)
14
checkdepends=()
15
optdepends=()
16
provides=()
17
conflicts=()
18
replaces=()
19
options=(lto strip)
20
install=
21
changelog=
22
_repourl='https://github.com/shuvarie/shuvarie'
23
source=(
24
"shuvarie-v${pkgver}.tar.gz::${_repourl}/archive/refs/tags/v${pkgver}.tar.gz"
25
)
26
noextract=()
27
sha256sums=(
28
"fecfdc1b11bdf227083fa7a5182dae655170b0bbff1e6b684b9c994cfe26b4fe"
29
)
30
validpgpkeys=()
31
32
_dirname="shuvarie-$pkgver"
33
34
build() {
35
cd $_dirname
36
37
# The "lto" makepkg option adds -flto to CFLAGS, so cc-built C deps
38
# (simsimd, zstd-sys, aws-lc-sys, ...) emit LLVM bitcode objects. GNU ld
39
# (BFD) cannot parse bitcode ("file format not recognized"), so link with
40
# lld, which handles LTO bitcode natively. Pin the C compiler and the
41
# rustc linker to clang so the bitcode always matches the linking LLVM.
42
export CC=clang CXX=clang++
43
export CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER=clang
44
export CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=clang
45
export RUSTFLAGS="${RUSTFLAGS} -Clink-arg=-fuse-ld=lld"
46
47
cargo build --release --locked
48
}
49
50
package() {
51
cd $_dirname
52
53
mkdir -p "$pkgdir/usr/bin"
54
install -m755 -t "$pkgdir/usr/bin" ./target/release/shuvarie
55
56
mkdir -p "$pkgdir/usr/share/licenses/shuvarie"
57
install -m644 -t "$pkgdir/usr/share/licenses/shuvarie" ./LICENSE
58
}
59
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 05:24:46 | Low | 1 |