sys-fs/duf: update SRC_URI

Sorry, I've uploaded the distfile myself when bumping but forgot to
tweak SRC_URI. Also, drop obsolete USE=pie while here as the eclass
handles it.

Closes: https://bugs.gentoo.org/962706
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James 2025-09-11 03:34:14 +01:00
parent c54316bf92
commit c5cc34ac24
No known key found for this signature in database
GPG Key ID: 738409F520DF9190

View File

@ -8,17 +8,15 @@ 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/deps/releases/download/${P}/${P}-deps.tar.xz"
SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-deps.tar.xz"
LICENSE="MIT BSD Apache-2.0"
# Dependent licenses
LICENSE+=" Apache-2.0 BSD MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE="pie"
src_compile() {
use pie && GOFLAGS+=" -buildmode=pie"
ego build
}