squirrel-disk

LOW
maintainer jtheoof 0 votes scanned 2026-10-31 03:57:49.812218
View on AUR
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
3pkgname=squirrel-disk
4_pkgname=squirreldisk
5pkgver=2.6.1
6pkgrel=1
7pkgdesc='Fast, cross-platform disk usage analyzer with an animated sunburst (native Rust rewrite)'
8arch=('x86_64')
9url='https://github.com/adileo/squirreldisk'
10license=('AGPL-3.0-only')
11depends=(
12 'alsa-lib'
13 'glibc'
14 'hicolor-icon-theme'
15 'libgcc'
16 'libglvnd'
17 'libx11'
18 'libxkbcommon'
19 'wayland'
20)
21makedepends=('cargo')
22optdepends=(
23 'rclone: scan cloud storage and SSH servers'
24 'xdg-desktop-portal: native file dialogs'
25)
26options=('!lto')
27conflicts=('squirrel-disk-bin' 'squirreldisk' 'squirreldisk-bin')
28provides=('squirreldisk')
29source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
30sha256sums=('6a9f1dc9e831a86a4290499c551188483a759b501205ee10c26a6bd1a38a061f')
31
32prepare() {
33 cd "$_pkgname-$pkgver"
34 export RUSTUP_TOOLCHAIN=stable
35 cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
36}
37
38build() {
39 cd "$_pkgname-$pkgver"
40 export RUSTUP_TOOLCHAIN=stable
41 export CARGO_TARGET_DIR=target
42 cargo build --frozen --release
43}
44
45check() {
46 cd "$_pkgname-$pkgver"
47 export RUSTUP_TOOLCHAIN=stable
48 cargo test --frozen
49}
50
51package() {
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)SeverityRules
2026-10-31 03:57:49 Low 1

Report a package

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

0 / 4000
Your suggestion