diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-08-22 14:43:09 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-08-22 14:43:09 +0100 |
commit | c0a9f2400f704c438b0cef4f4105e7bb6c3cbbff (patch) | |
tree | f03dacf9fcbf88186d23a1c68620015cca2a06b2 /sys-fs/ncdu/ncdu-2.1.2-r1.ebuild | |
parent | 4c4bbf21230bd972cf759b2a40b782aa4149fc1f (diff) |
gentoo auto-resync : 22:08:2022 - 14:43:09
Diffstat (limited to 'sys-fs/ncdu/ncdu-2.1.2-r1.ebuild')
-rw-r--r-- | sys-fs/ncdu/ncdu-2.1.2-r1.ebuild | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/sys-fs/ncdu/ncdu-2.1.2-r1.ebuild b/sys-fs/ncdu/ncdu-2.1.2-r1.ebuild new file mode 100644 index 000000000000..b1f2a22f2abc --- /dev/null +++ b/sys-fs/ncdu/ncdu-2.1.2-r1.ebuild @@ -0,0 +1,33 @@ +# 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" + +DEPEND="sys-libs/ncurses:=[unicode(+)]" +RDEPEND="${DEPEND}" +BDEPEND=" + || ( ~dev-lang/zig-0.9.1 ~dev-lang/zig-bin-0.9.1 ) + virtual/pkgconfig +" + +# see https://github.com/ziglang/zig/issues/3382 +# For now, Zig doesn't support CFLAGS/LDFLAGS/etc. +QA_FLAGS_IGNORED="usr/bin/ncdu" + +src_test() { + zig build test || die "Tests failed" +} + +src_install() { + emake PREFIX="${ED}"/usr install + + dodoc README.md ChangeLog +} |