diff --git a/srcpkgs/calicoctl/template b/srcpkgs/calicoctl/template new file mode 100644 index 00000000000..8403d4ca419 --- /dev/null +++ b/srcpkgs/calicoctl/template @@ -0,0 +1,19 @@ +# Template file for 'calicoctl' +pkgname=calicoctl +version=3.4.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 " +license="Apache-2.0" +homepage="https://www.projectcalico.org" +distfiles="https://github.com/projectcalico/calicoctl/archive/v${version}.tar.gz" +checksum=15d0edbacef5ad7205eaf20b444c134b30f2cfe0153e4f84d0f2dd3b3485023a + +pre_build() { + cd $GOSRCPATH + glide install +}