gentoo-ebuilds/app-containers/docker-pushrm/docker-pushrm-1.9.0.ebuild
Maciej Barć b98a92b4a1
app-containers/docker-pushrm: new package; add 1.9.0
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
2024-09-14 16:08:11 +02:00

36 lines
694 B
Bash

# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
DESCRIPTION="Docker CLI plugin to update container repository documentation"
HOMEPAGE="https://github.com/docker/buildx"
SRC_URI="
https://github.com/christian-korneck/${PN}/archive/refs/tags/v${PV}.tar.gz
-> ${P}.tar.gz
https://dev.gentoo.org/~xgqt/distfiles/deps/${P}-deps.tar.xz
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="
app-containers/docker-cli
"
src_compile() {
local -a go_build_opts=(
-o ./bin/
)
ego build "${go_build_opts[@]}"
}
src_install() {
exeinto /usr/libexec/docker/cli-plugins
doexe "bin/${PN}"
einstalldocs
}