dev-util/bazelisk: new package, recommended launcher for Bazel

Signed-off-by: Wolfgang E. Sanyer <ezzieyguywuf@gmail.com>
This commit is contained in:
Wolfgang E. Sanyer
2022-07-23 20:16:51 -04:00
parent e3f79656b0
commit 8cc144ff5e
3 changed files with 33 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
DESCRIPTION="A user-friendly launcher for Bazel"
HOMEPAGE="https://bazel.build/install/bazelisk"
SRC_URI="https://github.com/bazelbuild/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://github.com/ezzieyguywuf/go-ebuild-dependencies/blob/main/deps/${P}-deps-r1.tar.gz?raw=true -> ${P}-deps-r1.tar.gz"
LICENSE="MIT MPL-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
src_compile() {
go build || die
}
src_install() {
dobin ${PN}
}