You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# Copyright 2022 Gentoo Authors
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=8
|
|
|
|
|
|
|
|
inherit go-module
|
|
|
|
|
|
|
|
DESCRIPTION="Disk Usage/Free Utility"
|
|
|
|
HOMEPAGE="https://github.com/muesli/duf"
|
|
|
|
SRC_URI="https://github.com/muesli/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
SRC_URI+=" https://api.flanchan.moe/overlay/src/sys-apps/${PN}/${P}-deps.tar.xz -> ${P}-deps.tar.xz"
|
|
|
|
|
|
|
|
LICENSE="MIT"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64"
|
|
|
|
|
|
|
|
DEPEND=""
|
|
|
|
RDEPEND="${DEPEND}"
|
|
|
|
BDEPEND="dev-lang/go"
|
|
|
|
|
|
|
|
src_compile() {
|
|
|
|
#GOMODCACHE="${PWD}/../go-mod" ego build
|
|
|
|
ego build
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
dobin ${PN}
|
|
|
|
default
|
|
|
|
|
|
|
|
}
|