mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-05 14:07:27 -08:00
Closes: https://bugs.gentoo.org/844691 Closes: https://bugs.gentoo.org/679616 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
26 lines
633 B
Bash
26 lines
633 B
Bash
# Copyright 1999-2024 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit go-module
|
|
|
|
DESCRIPTION="Clean all old container revisions from registry"
|
|
HOMEPAGE="https://gitlab.com/gitlab-org/docker-distribution-pruner"
|
|
SRC_URI="https://gitlab.com/gitlab-org/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2
|
|
https://dev.gentoo.org/~arthurzam/distfiles/${CATEGORY}/${PN}/${P}-deps.tar.xz"
|
|
S=${WORKDIR}/${PN}-v${PV}
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~arm64"
|
|
RESTRICT="test" # no tests
|
|
|
|
src_compile() {
|
|
ego build -o ${PN} ./cmds/docker-distribution-pruner
|
|
}
|
|
|
|
src_install() {
|
|
dobin ${PN}
|
|
}
|