paclens
LOW
maintainer satyxsing
0 votes
scanned 2026-08-26 17:30:31.857880
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: plasmaDestroyer <satyasheel2004@gmail.com>
2
pkgname=paclens
3
pkgver=0.3.3
4
pkgrel=1
5
pkgdesc="A TUI-first pacman + AUR + Flatpak inspection and update tool for Arch Linux"
6
arch=('x86_64')
7
url="https://github.com/plasmaDestroyer/paclens"
8
license=('MIT')
9
# pacman-contrib is not optional: checkupdates is what makes update counts
10
# accurate rather than a reading of a possibly-stale local sync db, and
11
# paccache is what makes the reclaimable cache figure honest. Both are
12
# promises paclens makes about its numbers (design §3), so the tool should
13
# not ship in a state where it cannot keep them.
14
depends=('gcc-libs' 'glibc' 'pacman' 'pacman-contrib')
15
makedepends=('cargo' 'git')
16
# An AUR helper is genuinely a choice, so none of these is required and none
17
# is privileged at install time — paclens detects whichever is present.
18
optdepends=(
19
'flatpak: Flatpak app and runtime scanning'
20
'paru: AUR update detection and updates (preferred)'
21
'yay: AUR update detection and updates'
22
'pikaur: AUR update detection and updates'
23
)
24
source=("git+$url.git#tag=v$pkgver")
25
sha256sums=('SKIP')
26
27
prepare() {
28
cd "$pkgname"
29
export RUSTUP_TOOLCHAIN=stable
30
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
31
}
32
33
build() {
34
cd "$pkgname"
35
export RUSTUP_TOOLCHAIN=stable
36
export CARGO_TARGET_DIR=target
37
# overlap_map.toml is compiled in via include_str!() — no runtime file.
38
cargo build --frozen --release
39
}
40
41
check() {
42
cd "$pkgname"
43
export RUSTUP_TOOLCHAIN=stable
44
cargo test --frozen --release
45
}
46
47
package() {
48
cd "$pkgname"
49
install -Dm755 "target/release/$pkgname" "$pkgdir/usr/bin/$pkgname"
50
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
51
install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
52
install -Dm644 config.default.toml "$pkgdir/usr/share/doc/$pkgname/config.default.toml"
53
}
54
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-26 17:30:31 | Low | 1 |