mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-09 00:07:57 +03:00
34 lines
684 B
Bash
34 lines
684 B
Bash
# Copyright 2022-2024 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
inherit go-module
|
|
|
|
DESCRIPTION="Command line utility for operations on container images and image repositories"
|
|
HOMEPAGE="https://github.com/jfrog/jfrog-cli"
|
|
SRC_URI="https://github.com/jfrog/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
|
https://dev.gentoo.org/~zmedico/dist/${P}-deps.tar.xz"
|
|
|
|
LICENSE="Apache-2.0 BSD BSD-2 MIT MPL-2.0"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
BDEPEND=">=dev-lang/go-1.23.3:="
|
|
|
|
src_unpack() {
|
|
default
|
|
}
|
|
|
|
src_prepare() {
|
|
ln -sv ../vendor ./ || die
|
|
default
|
|
}
|
|
|
|
src_compile() {
|
|
build/build.sh jfrog || die
|
|
}
|
|
|
|
src_install() {
|
|
dobin jfrog
|
|
einstalldocs
|
|
}
|