# Copyright 2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit go-module 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" 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/* }