void-packages/srcpkgs/calicoctl/template

20 lines
561 B
Bash

# Template file for 'calicoctl'
pkgname=calicoctl
version=3.5.1
revision=1
build_style=go
go_import_path="github.com/projectcalico/calicoctl"
go_package="${go_import_path}/calicoctl"
hostmakedepends="glide"
short_desc="CLI tool for Project Calico"
maintainer="Frank Steinborn <steinex@nognu.de>"
license="Apache-2.0"
homepage="https://www.projectcalico.org"
distfiles="https://github.com/projectcalico/calicoctl/archive/v${version}.tar.gz"
checksum=1747c6ba17c95796d371a97a915e5d8288ff845dfa688ca2f0ee5519bf77df82
pre_build() {
cd $GOSRCPATH
glide install
}