Package Details: ncdu-git v2.8.2.r0.g5b96a48-1

Git Clone URL: https://aur.archlinux.org/ncdu-git.git (read-only, click to copy)
Package Base: ncdu-git
Description: Disk usage analyzer with an ncurses interface
Upstream URL: https://dev.yorhel.nl/ncdu
Licenses: MIT
Conflicts: ncdu
Provides: ncdu
Submitter: ilovemikael
Maintainer: ilovemikael
Last Packager: ilovemikael
Votes: 1
Popularity: 0.93
First Submitted: 2025-06-09 08:36 (UTC)
Last Updated: 2025-06-09 08:36 (UTC)

Required by (1)

Sources (1)

Latest Comments

ilovemikael commented on 2025-06-09 08:37 (UTC) (edited on 2025-06-09 08:37 (UTC) by ilovemikael)

hello world, today is a lucky day

ilovemikael commented on 2025-05-21 20:48 (UTC) (edited on 2025-05-21 20:51 (UTC) by ilovemikael)

Hello snyball,

I'm unsure whether or not you'll see this message, but if so, I wanted to thank you for creating this package; ncdu is a great tool which I use daily, and I was kinda frustrated that the arch repo was half a year behind upstream (although that just changed today, plus the development isn't crazily active to begin with, but compiling your own packages is still cool, so the point stands nonetheless).

I tried building it a few months ago (as can be seen from the previous comment) but was unable to, quickly moving onto the next thing as those with short attention spans tend to do; recently though, I decided to take another look at the pkgbuild and found that the build failure was simply a result of the git url being outdated, so I just updated your script to be in line with upstream (and a few other little touch-ups), and everything (one binary) compiled swimmingly.

I think the 'ncduh' repo was maintained when the concept of having a zig version of ncdu (as opposed to C) was a novel one, but since ncdu 2.0 came out of beta (1) and became the default version for arch shortly after (2) (over four years ago), this no longer seems to be the case and thus the ncduh repo hasn't seen any commits in over a year; I probably would've been successful in my previous compilation efforts had I read the repo page before and saw that it requires zig 11 to build, but that's irrelevant now since upstream can be built with the latest stable zig (14). Because of this, I think it would be wise to merge this pkgbase into 'ncdu-git' since it is no longer a fork.

I submitted an orphan request for this package due to your apparent inactivity and the desire to maintain it if you're unable/don't want to, but if those things aren't the case, that's fine too; I shall post my modified pkgbuild regardless (%s/ncdu/ncduh/g if base merge is impossible):

# Maintainer: Jonas Møller <jonas.moeller2@protonmail.com>
pkgname=ncdu-git
_pkgname=ncdu
pkgver=20250501
pkgrel=1
pkgdesc="Disk usage analyzer with an ncurses interface"
arch=("x86_64")
url="https://dev.yorhel.nl/ncdu"
license=('MIT')
depends=(
  'ncurses'
  'glibc'
  'zstd'
)
makedepends=("zig")
provides=('ncdu')
conflicts=('ncdu')
source=("git://g.blicky.net/ncdu.git")
md5sums=("SKIP")

pkgver() {
    cd $_pkgname
    TZ=UTC date -d @$(git log -1 --format=%ct) +%Y%m%d
}

prepare() {
    cd "$_pkgname"
}

build() {
    cd "$_pkgname"
    zig build
}

package() {
    cd "$_pkgname"
    install -Dm755 "zig-out/bin/ncdu" "${pkgdir}/usr/bin/ncdu"
}

ilovemikael commented on 2025-01-19 19:02 (UTC)

ash; you may find this interesting: https://dev.yorhel.nl/doc/ncdu2

xAsh commented on 2024-09-24 11:08 (UTC)

didn't really know where to ask this, but how does your fork fundamentally differ from regular ncdu?