disktree

LOW
maintainer douglasdemoura 0 votes scanned 2026-09-25 21:13:17.793975
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: Douglas de Moura <douglasdemoura@users.noreply.github.com>
2pkgname=disktree
3pkgver=0.10.0
4pkgrel=1
5pkgdesc="A treemap for finding and removing what fills your disk, for Omarchy. Rust + GPUI"
6arch=('x86_64' 'aarch64')
7url="https://github.com/tobi/disktree"
8license=('MIT')
9depends=('gcc-libs' 'wayland' 'libxkbcommon' 'libxkbcommon-x11' 'libxcb'
10 'libglvnd')
11makedepends=('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.
14options=('!lto')
15optdepends=('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')
18source=("$pkgname-$pkgver.tar.gz::https://github.com/tobi/disktree/archive/refs/tags/v$pkgver.tar.gz")
19sha256sums=('417322c206fee9383af938731919876e866c7910d8ff4fb9a43b6b8cbf5ad54e')
20
21prepare() {
22 cd "$pkgname-$pkgver"
23 export CARGO_TERM_COLOR=always
24 cargo fetch --locked
25}
26
27build() {
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.
35check() {
36 cd "$pkgname-$pkgver"
37 export CARGO_TERM_COLOR=always
38 cargo test --locked --frozen --offline -p disktree-core
39}
40
41package() {
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)SeverityRules
2026-09-25 21:13:17 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