gentoo-overlay/app-admin/kubectl-linstor/kubectl-linstor-0.1.2.ebuild

34 lines
696 B
Bash
Raw Normal View History

# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
2022-11-22 14:20:03 +03:00
EGO_SUM=(
"github.com/henvic/ctxsignal v1.0.0"
"github.com/henvic/ctxsignal v1.0.0/go.mod"
)
go-module_set_globals
DESCRIPTION="A plugin to control a LINSTOR cluster using kubectl"
HOMEPAGE="https://github.com/piraeusdatastore/kubectl-linstor"
2022-11-22 14:20:03 +03:00
SRC_URI="https://github.com/piraeusdatastore/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
${EGO_SUM_SRC_URI}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND=""
src_compile() {
ego build -o bin/${PN}
}
src_install() {
dobin bin/*
}