dev-util/dive - 0.12.0 (ferki)

Search

Package Information

Description:
A tool for exploring each layer in a docker image
Homepage:
https://github.com/wagoodman/dive
License:
Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 MIT MPL-2.0 WTFPL-2

Ebuild Details

Version EAPI Keywords Slot
0.12.0 8 ~amd64 0
View Raw Ebuild
# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit go-module

DESCRIPTION="A tool for exploring each layer in a docker image"
HOMEPAGE="https://github.com/wagoodman/dive"

SRC_URI="
	https://github.com/wagoodman/dive/archive/v${PV}.tar.gz -> ${P}.tar.gz
	https://github.com/ferki/${PN}/releases/download/v${PV}-gentoo-deps/${P}-gentoo-deps.tar.xz
"

LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 MIT MPL-2.0 WTFPL-2"
SLOT="0"
KEYWORDS="~amd64"

src_compile() {
	ego build -ldflags "-s -w -X main.version=${PV}" -o build/dive
}

src_install () {
	dobin build/dive
	einstalldocs
}

Manifest for 0.12.0

Type File Size Source URLs
DIST dive-0.12.0-gentoo-deps.tar.xz 13193220 bytes https://github.com/ferki/dive/releases/download/v0.12.0-gentoo-deps/dive-0.12.0-gentoo-deps.tar.xz
DIST dive-0.12.0.tar.gz 5844820 bytes https://github.com/wagoodman/dive/archive/v0.12.0.tar.gz