silent
CLEAN
maintainer crazyboycjr
0 votes
scanned 2026-11-01 00:21:48.120785
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 the maintainer's GitHub repository, which is the project's own source; all dependencies and build steps are standard, and no untrusted or executable payloads are downloaded at runtime.
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: Jingrong Chen <crazyboycjr at gmail dot com>
2
#
3
# The repository's packaging/arch/PKGBUILD builds its working tree with the
4
# same dependencies and package(); keep the two alike. To release:
5
# 1. with the repository public, push the tag v$pkgver to
6
# github.com/crazyboycjr/silent, and set pkgver here and pkgrel=1;
7
# 2. updpkgsums, which puts the tarball's sha256 in place of SKIP;
8
# 3. makepkg --printsrcinfo > .SRCINFO;
9
# 4. makepkg -f, a test build whose check() runs the tests, and
10
# namcap PKGBUILD silent-*.pkg.tar.*;
11
# 5. git commit -am "silent $pkgver", and git push.
12
pkgname=silent
13
pkgver=1.0.0
14
pkgrel=1
15
pkgdesc='A borderless, fast file previewer for Nautilus on X11 (replaces sushi)'
16
arch=('x86_64')
17
url='https://github.com/crazyboycjr/silent'
18
license=('Apache-2.0')
19
depends=('glibc' 'libgcc' 'glib2' 'fontconfig' 'libseccomp' 'libarchive'
20
'libxcb' 'libxkbcommon' 'libxkbcommon-x11'
21
'vulkan-icd-loader' 'vulkan-driver'
22
'gstreamer' 'gst-plugins-base-libs' 'gst-plugins-base' 'gst-plugins-good'
23
'glycin' 'bubblewrap' 'hicolor-icon-theme'
24
'noto-fonts' 'ttf-jetbrains-mono')
25
optdepends=('gst-libav: more video and audio formats'
26
'gst-plugins-bad: more video formats and hardware decoding'
27
'libheif: AVIF and HEIC pictures'
28
'noto-fonts-cjk: Chinese, Japanese and Korean text'
29
'noto-fonts-emoji: colour emoji'
30
'ttf-carlito: Office documents set in Calibri or Aptos'
31
'ttf-caladea: Office documents set in Cambria'
32
'ttf-liberation: Office documents set in Arial, Times or Courier'
33
'xdg-utils: opening the links of Markdown and HTML pages')
34
makedepends=('cargo' 'python')
35
provides=('sushi')
36
conflicts=('sushi' 'nemo-preview')
37
options=('!lto' '!debug')
38
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
39
sha256sums=('9d70218369d8d0da12733107b3866f1b5295292128a024f61b84a3698cdca84d')
40
41
prepare() {
42
cd "$pkgname-$pkgver"
43
export RUSTUP_TOOLCHAIN=stable
44
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
45
}
46
47
build() {
48
cd "$pkgname-$pkgver"
49
export RUSTUP_TOOLCHAIN=stable
50
export CARGO_TARGET_DIR=target
51
cargo build --frozen --release
52
}
53
54
check() {
55
cd "$pkgname-$pkgver"
56
export RUSTUP_TOOLCHAIN=stable
57
export CARGO_TARGET_DIR=target
58
cargo test --frozen --release
59
}
60
61
package() {
62
cd "$pkgname-$pkgver"
63
install -Dm755 target/release/silent -t "$pkgdir/usr/bin/"
64
install -Dm644 data/org.gnome.NautilusPreviewer.service data/org.nemo.Preview.service \
65
-t "$pkgdir/usr/share/dbus-1/services/"
66
install -Dm644 README.md -t "$pkgdir/usr/share/doc/$pkgname/"
67
local icon
68
for icon in assets/icon/linux/hicolor/*/apps/silent.*; do
69
install -Dm644 "$icon" "$pkgdir/usr/share/icons/${icon#assets/icon/linux/}"
70
done
71
}
72
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-01 00:21:48 | Clean | 2 |
| 2026-10-31 21:59:05 | Low | 1 |