summaryrefslogtreecommitdiff
path: root/app-containers/docker-pushrm/docker-pushrm-1.9.0.ebuild
blob: 76bccc9ef6fcf0c8bdef50e94ebdb948140a04db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# 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
}