27 lines
535 B
Bash
27 lines
535 B
Bash
|
# Copyright 2022 Gentoo Authors
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=8
|
||
|
|
||
|
inherit go-module
|
||
|
|
||
|
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"
|
||
|
|
||
|
LICENSE="Apache-2.0"
|
||
|
SLOT="0"
|
||
|
KEYWORDS="~amd64"
|
||
|
|
||
|
DEPEND=""
|
||
|
RDEPEND="${DEPEND}"
|
||
|
BDEPEND=""
|
||
|
|
||
|
src_compile() {
|
||
|
ego build -o bin/${PN}
|
||
|
}
|
||
|
|
||
|
src_install() {
|
||
|
dobin bin/*
|
||
|
}
|