void-packages/srcpkgs/calicoctl/template

20 lines
561 B
Bash

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