codu-git
The package builds from a public Git repository with a SKIP'd checksum, but it is the project's own source code, not a prebuilt binary, and no malicious or obfuscated behavior is present; the low severity is due to lack of verifiable source integrity, not active risk.
Triggered rules
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
llm_review
An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is LOW (confidence 95%): The package builds from a public Git repository with a SKIP'd checksum, but it is the project's own source code, not a prebuilt binary, and no malicious or obfuscated behavior is present; the low severity is due to lack of verifiable source integrity, not active risk.
PKGBUILD
# Maintainer: hilgardt <hilgardt@gmail.com>
pkgname=codu-git
_pkgname=codu
pkgver=0.1.0.r9.ga5a9634
pkgrel=1
pkgdesc='Colourful, themeable, navigable disk usage TUI (like ncdu, with cd-on-exit)'
arch=('x86_64' 'aarch64')
url='https://github.com/hilgardt-collab/codu'
license=('MIT')
depends=('gcc-libs' 'glibc')
makedepends=('git' 'cargo')
provides=('codu')
# Renamed from cdu-git, whose name collided with other tools called cdu.
conflicts=('codu' 'cdu-git')
replaces=('cdu-git')
install="$pkgname.install"
source=("$_pkgname::git+$url.git")
sha256sums=('SKIP')
pkgver() {
cd "$_pkgname"
printf '%s.r%s.g%s' \
"$(sed -n 's/^version = "\(.*\)"/\1/p' Cargo.toml | head -n1)" \
"$(git rev-list --count HEAD)" \
"$(git rev-parse --short=7 HEAD)"
}
prepare() {
cd "$_pkgname"
export RUSTUP_TOOLCHAIN=stable
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
}
build() {
cd "$_pkgname"
export RUSTUP_TOOLCHAIN=stable
export CARGO_TARGET_DIR=target
# Upstream's release profile strips the binary; let makepkg do that instead
# so the debug split package gets real symbols.
export CARGO_PROFILE_RELEASE_STRIP=false
cargo build --frozen --release
# Shell integration for cd-on-exit, generated by the binary just built so
# it always matches this version.
local bin=target/release/codu
"$bin" --shell fish > codu.fish
{
echo '# codu: leave the shell in the directory shown when codu exits.'
echo '# Sourced by bash and zsh login shells. Terminals that start a'
echo '# non-login shell need `eval "$(codu --shell bash)"` (or zsh) in the'
echo '# rc file instead. Disable with cd-on-exit = false or --no-cd.'
echo 'if [ -n "$BASH_VERSION" ] || [ -n "$ZSH_VERSION" ]; then'
"$bin" --shell bash | sed '/^#/d; s/^/ /'
echo 'fi'
} > codu.profile.sh
}
check() {
cd "$_pkgname"
export RUSTUP_TOOLCHAIN=stable
cargo test --frozen --release
}
package() {
cd "$_pkgname"
install -Dm755 target/release/codu -t "$pkgdir/usr/bin/"
install -Dm644 codu.profile.sh "$pkgdir/etc/profile.d/codu.sh"
install -Dm644 codu.fish "$pkgdir/usr/share/fish/vendor_functions.d/codu.fish"
install -Dm644 themes/*.toml -t "$pkgdir/usr/share/codu/themes/"
install -Dm644 README.md config.default.toml -t "$pkgdir/usr/share/doc/$pkgname/"
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 13:25:46 | Low | 2 |