commit: 1018ba13597fd1a97e5a7651f25433094627a887
parent a3fcf67ecb5d0d097d9de1e9fe1b21ad00e66f98
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Tue, 15 Mar 2022 18:35:59 +0100
sys-fs/ncdu: initial import
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Diffstat:
2 files changed, 26 insertions(+), 0 deletions(-)
diff --git a/sys-fs/ncdu/Manifest b/sys-fs/ncdu/Manifest
@@ -0,0 +1 @@
+DIST ncdu-2.1.tar.gz 52449 BLAKE2B 9dd90b63ad7edbd402b0cdab7f5aa5263c6df562afb15229b5c2b6143cf7efc7af94fabcd710593b2fd94fca02742e08b401fc0103b1154c6cd278f5709eeef8 SHA512 965317c0c645d2adfce80b70581cc2d0d6e6ac9af6fc2e2254676267c91958ebace886559a45e33ea1ef5bc5b227227caccf68d27c1293168ebab65d4db28083
diff --git a/sys-fs/ncdu/ncdu-2.1.ebuild b/sys-fs/ncdu/ncdu-2.1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+
+DESCRIPTION="NCurses Disk Usage"
+HOMEPAGE="https://dev.yorhel.nl/ncdu/"
+SRC_URI="https://dev.yorhel.nl/download/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64"
+
+BDEPEND=">=dev-lang/zig-0.9"
+
+DEPEND="sys-libs/ncurses:=[unicode(+)]"
+
+RDEPEND="${DEPEND}"
+
+src_install() {
+ einstalldocs
+
+ dobin zig-out/bin/ncdu
+ doman ncdu.1
+}