squirrel-disk
LOW
maintainer jtheoof
0 votes
scanned 2026-10-31 03:57:49.812218
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: Jeremy Attali <contact@jtheoof.me>
2
3
pkgname=squirrel-disk
4
_pkgname=squirreldisk
5
pkgver=2.6.1
6
pkgrel=1
7
pkgdesc='Fast, cross-platform disk usage analyzer with an animated sunburst (native Rust rewrite)'
8
arch=('x86_64')
9
url='https://github.com/adileo/squirreldisk'
10
license=('AGPL-3.0-only')
11
depends=(
12
'alsa-lib'
13
'glibc'
14
'hicolor-icon-theme'
15
'libgcc'
16
'libglvnd'
17
'libx11'
18
'libxkbcommon'
19
'wayland'
20
)
21
makedepends=('cargo')
22
optdepends=(
23
'rclone: scan cloud storage and SSH servers'
24
'xdg-desktop-portal: native file dialogs'
25
)
26
options=('!lto')
27
conflicts=('squirrel-disk-bin' 'squirreldisk' 'squirreldisk-bin')
28
provides=('squirreldisk')
29
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
30
sha256sums=('6a9f1dc9e831a86a4290499c551188483a759b501205ee10c26a6bd1a38a061f')
31
32
prepare() {
33
cd "$_pkgname-$pkgver"
34
export RUSTUP_TOOLCHAIN=stable
35
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
36
}
37
38
build() {
39
cd "$_pkgname-$pkgver"
40
export RUSTUP_TOOLCHAIN=stable
41
export CARGO_TARGET_DIR=target
42
cargo build --frozen --release
43
}
44
45
check() {
46
cd "$_pkgname-$pkgver"
47
export RUSTUP_TOOLCHAIN=stable
48
cargo test --frozen
49
}
50
51
package() {
52
cd "$_pkgname-$pkgver"
53
install -Dm755 "target/release/$_pkgname" -t "$pkgdir/usr/bin/"
54
55
install -Dm644 packaging/linux/squirreldisk.desktop -t "$pkgdir/usr/share/applications/"
56
local _size
57
for _size in 16 32 48 64 128 256 512; do
58
install -Dm644 "assets/icon/icon-$_size.png" \
59
"$pkgdir/usr/share/icons/hicolor/${_size}x${_size}/apps/$_pkgname.png"
60
done
61
62
install -Dm644 README.md -t "$pkgdir/usr/share/doc/$pkgname/"
63
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
64
}
65
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-31 03:57:49 | Low | 1 |