void-packages/srcpkgs/calicoctl/template

20 lines
561 B
Bash

# Template file for 'calicoctl'
pkgname=calicoctl
version=3.5.2
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=a0a4a85dcdb72f54baf6d2f1b242682530215d5111a58330ec70781fedec1e0d
pre_build() {
cd $GOSRCPATH
glide install
}