disktree
LOW
maintainer douglasdemoura
0 votes
scanned 2026-09-25 21:13:17.793975
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: Douglas de Moura <douglasdemoura@users.noreply.github.com>
2
pkgname=disktree
3
pkgver=0.10.0
4
pkgrel=1
5
pkgdesc="A treemap for finding and removing what fills your disk, for Omarchy. Rust + GPUI"
6
arch=('x86_64' 'aarch64')
7
url="https://github.com/tobi/disktree"
8
license=('MIT')
9
depends=('gcc-libs' 'wayland' 'libxkbcommon' 'libxkbcommon-x11' 'libxcb'
10
'libglvnd')
11
makedepends=('rust' 'pkgconf')
12
# !lto: makepkg's -flto=auto turns the C shims (wayland log shim, freetype)
13
# into GCC LTO bytecode, which rustc's default linker (rust-lld) cannot read.
14
options=('!lto')
15
optdepends=('mesa: GL driver for rendering (or your GPU vendor driver)'
16
'trash-cli: move marked files to the trash with trash-put'
17
'glib2: move marked files to the trash with gio trash')
18
source=("$pkgname-$pkgver.tar.gz::https://github.com/tobi/disktree/archive/refs/tags/v$pkgver.tar.gz")
19
sha256sums=('417322c206fee9383af938731919876e866c7910d8ff4fb9a43b6b8cbf5ad54e')
20
21
prepare() {
22
cd "$pkgname-$pkgver"
23
export CARGO_TERM_COLOR=always
24
cargo fetch --locked
25
}
26
27
build() {
28
cd "$pkgname-$pkgver"
29
export CARGO_TERM_COLOR=always
30
cargo build --release --locked --frozen --offline -p disktree-app
31
}
32
33
# The scanner, layout and removal tests run headless; the window-harness
34
# tests need a GPU-backed Wayland/X11 session, which makepkg cannot provide.
35
check() {
36
cd "$pkgname-$pkgver"
37
export CARGO_TERM_COLOR=always
38
cargo test --locked --frozen --offline -p disktree-core
39
}
40
41
package() {
42
cd "$pkgname-$pkgver"
43
install -Dm755 target/release/disktree "$pkgdir/usr/bin/disktree"
44
install -Dm644 assets/disktree.svg \
45
"$pkgdir/usr/share/icons/hicolor/scalable/apps/disktree.svg"
46
sed -e 's|@BINDIR@|/usr/bin|g' -e "s|@VERSION@|$pkgver|g" \
47
packaging/disktree.desktop.in > "$pkgname.desktop"
48
install -Dm644 "$pkgname.desktop" \
49
"$pkgdir/usr/share/applications/$pkgname.desktop"
50
install -Dm644 LICENSE \
51
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
52
}
53
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-25 21:13:17 | Low | 1 |