mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
33 lines
721 B
Bash
33 lines
721 B
Bash
# Copyright 2023-2026 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
RUST_MIN_VER="1.88.0"
|
|
|
|
inherit cargo
|
|
|
|
DESCRIPTION="A tool to conveniently learn about the disk usage of directories, fast!"
|
|
HOMEPAGE="https://github.com/Byron/dua-cli"
|
|
SRC_URI="https://github.com/Byron/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
DEPS_URI="https://github.com/gentoo-crate-dist/${PN}/releases/download/v${PV}/${P}-crates.tar.xz"
|
|
SRC_URI+=" ${DEPS_URI}"
|
|
|
|
LICENSE="MIT"
|
|
# Dependent crate licenses
|
|
LICENSE+=" MIT Unicode-DFS-2016"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
|
|
QA_FLAGS_IGNORED="usr/bin/dua"
|
|
|
|
DOCS=(
|
|
README.md
|
|
CHANGELOG.md
|
|
)
|
|
|
|
src_install() {
|
|
cargo_src_install
|
|
dodoc -r "${DOCS[@]}"
|
|
}
|