mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 15:13:31 -04:00
sys-fs/gdu: add 5.36.1, drop 5.25.0
Signed-off-by: Daichi Yamamoto <dev@dyama.net>
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
DIST gdu-5.25.0-vendor.tar.xz 2362464 BLAKE2B 316c91045be7189066f4e444c588033ab25adf1c1b51f3b73d18f8db9ceed0a2099941ee8bad460ed40e334b3bdaa4ea8496211f94eed8d40591863ffecbd57c SHA512 28248c21ae99e1b2c2473470634f9db460ad9e15f7bb6d90f9f7ebfe207f706e6f80000a28bbe9e3851794890539a24f217df31af8cdfc49c4358bbd03df7b9b
|
||||
DIST gdu-5.25.0.tar.gz 61990 BLAKE2B 7f5b1730ff88397c3f69f79f12da4c243f91abc450faffaaf2bbd9a9dfb06a8cbc954184d5164ae64ef3ec56d8bd66923aa6f27dd78883bcf255bb6d7b58a4f4 SHA512 25d20304e9bfd805e0991e49b663666216d93865b91be84ef58a3b0c2ef44ed35fc59aa5a5ac15d31aea40cad3e2a920037d1a8ca75a889582ece7cff174c9dd
|
||||
DIST gdu-5.36.1-deps.tar.xz 214208032 BLAKE2B 7304fdf217efc45f63d4f60986f29652ec3afc94af88b5bc5609cd783faff2949c48532cd03e2ca99513b50ac76c8ebc69a5981cfd9acaf2c04e5068ca5ca175 SHA512 109728111530daa1add9e0699f1a0080a495c78b1c0224dfb983dc681ae7ed91c7b32f3e8a0a23233d1d7acb94482b83f36fc569183cb9277eb12a3c3699c3da
|
||||
DIST gdu-5.36.1.tar.gz 340256 BLAKE2B 7461e83e104d90c342942cc0005b50dfbb775262c954defc81a5c6cc45a331cab244ffb8cab5a801de847899786b5dac2a99e5826d8c9095940ab2e24d03246c SHA512 d246b9be5d5d7e3b0a5d5e842dda775fe5503eb241ff679884e68df2178975187610799e69b3bf4dd8deb56fb5588ff6b90081d8daf26cf7c9150ac0e3d8a44c
|
||||
|
||||
@@ -1,30 +0,0 @@
|
||||
# Copyright 2020-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit go-module
|
||||
|
||||
DESCRIPTION="Disk usage analyzer with console interface written in Go"
|
||||
HOMEPAGE="https://github.com/dundee/gdu"
|
||||
SRC_URI="https://github.com/dundee/gdu/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI+=" https://gentoo.kropotkin.rocks/go-pkgs/${P}-vendor.tar.xz"
|
||||
|
||||
LICENSE="Apache-2.0 BSD MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
src_compile() {
|
||||
ego build -ldflags "-s -w -X 'github.com/dundee/gdu/build.Version=${PV}'" -v -x -work -o "${PN}" "./cmd/${PN}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einstalldocs
|
||||
dodoc -r README.md gdu.1.md
|
||||
dobin gdu
|
||||
doman gdu.1
|
||||
}
|
||||
|
||||
src_test() {
|
||||
ego test ./...
|
||||
}
|
||||
35
sys-fs/gdu/gdu-5.36.1.ebuild
Normal file
35
sys-fs/gdu/gdu-5.36.1.ebuild
Normal file
@@ -0,0 +1,35 @@
|
||||
# Copyright 2020-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit go-module
|
||||
|
||||
DESCRIPTION="Fast disk usage analyzer with console interface written in Go"
|
||||
HOMEPAGE="https://github.com/dundee/gdu"
|
||||
SRC_URI="
|
||||
https://github.com/dundee/gdu/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://github.com/yamader/gentoo-deps/releases/download/${P}/${P}-deps.tar.xz
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0 BSD BSD-2 MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
BDEPEND=">=dev-lang/go-1.25.0"
|
||||
|
||||
DOCS=( README.md gdu.1.md )
|
||||
|
||||
src_compile() {
|
||||
ego build -ldflags "-X 'github.com/dundee/gdu/v5/build.Version=${PV}'" ./cmd/gdu
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin gdu
|
||||
doman gdu.1
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
src_test() {
|
||||
ego test ./...
|
||||
}
|
||||
Reference in New Issue
Block a user