Users need to see at a glance what fills a disk and to remove the largest entries without digging through a file manager. The treemap makes sizes comparable, the scan runs off the UI thread, and removing an entry updates the tree in place instead of rescanning.
This commit is contained in:
15 files changed
+1461
No files matched your search
@@ -0,0 +1,31 @@
|
||||
# Maintainer: FWS <dami.scoot3@gmail.com>
|
||||
pkgname=fws-diskcleaner
|
||||
pkgver=$(tr -d '[:space:]' < version)
|
||||
pkgrel=1
|
||||
pkgdesc='Visual disk usage analyzer with a treemap view'
|
||||
arch=('x86_64')
|
||||
license=('custom')
|
||||
depends=('qt6-base')
|
||||
makedepends=('cmake' 'gcc')
|
||||
|
||||
# The release workflow builds this tarball with `git archive` next to the
|
||||
# PKGBUILD, so the source is local and has no upstream checksum to verify.
|
||||
source=("$pkgname-$pkgver.tar.gz")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
build() {
|
||||
cd "$pkgname-$pkgver"
|
||||
cmake -B build -S . \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr
|
||||
cmake --build build
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$pkgname-$pkgver"
|
||||
ctest --test-dir build --output-on-failure
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" cmake --install "$pkgname-$pkgver/build"
|
||||
}
|
||||
Reference in new issue
Block a user