From 4551b41523452c0d743a71cca34e4dca2ca7538c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 4 Jan 2023 12:06:28 +0000 Subject: gentoo auto-resync : 04:01:2023 - 12:06:28 --- sys-fs/duf/duf-0.8.1.ebuild | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 sys-fs/duf/duf-0.8.1.ebuild (limited to 'sys-fs/duf/duf-0.8.1.ebuild') diff --git a/sys-fs/duf/duf-0.8.1.ebuild b/sys-fs/duf/duf-0.8.1.ebuild new file mode 100644 index 000000000000..d948b7dff84d --- /dev/null +++ b/sys-fs/duf/duf-0.8.1.ebuild @@ -0,0 +1,27 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module + +DESCRIPTION="Disk Usage/Free Utility - a better 'df' alternative" +HOMEPAGE="https://github.com/muesli/duf" +SRC_URI="https://github.com/muesli/duf/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://github.com/mrmagic223325/duf/releases/download/${PV}/${P}-deps.tar.xz" + +LICENSE="MIT BSD Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="pie" + +src_compile() { + use pie && GOFLAGS+=" -buildmode=pie" + ego build +} + +src_install() { + dobin duf + dodoc README.md + doman duf.1 +} -- cgit v1.2.3