From aeaf502b030bb8f469cc9c3f117589dd49d8c512 Mon Sep 17 00:00:00 2001 From: Noel Cower Date: Fri, 16 Oct 2020 20:28:12 -0700 Subject: [PATCH] New package: waypoint-0.1.2 --- srcpkgs/waypoint/template | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 srcpkgs/waypoint/template diff --git a/srcpkgs/waypoint/template b/srcpkgs/waypoint/template new file mode 100644 index 00000000000..8205eae447e --- /dev/null +++ b/srcpkgs/waypoint/template @@ -0,0 +1,25 @@ +# Template file for 'waypoint' +pkgname=waypoint +version=0.1.2 +revision=1 +build_style=go +go_import_path=github.com/hashicorp/waypoint +hostmakedepends="git go-bindata make" +short_desc="Tool to build, deploy, and release any application on any platform" +maintainer="Noel Cower " +license="MPL-2.0" +homepage="https://www.waypointproject.io" +distfiles="https://github.com/hashicorp/waypoint/archive/v${version}.tar.gz" +checksum=20723ab3fd8dab0fc578f2ec2d8506eacbafe1b9837ab083c82f011ed1cdd226 + +do_build() { + # Build waypoint-entry for the host architecture: + go build -o ./internal/assets/ceb/ceb ./cmd/waypoint-entrypoint + (cd internal/assets && go-bindata -pkg assets -o prod.go -tags assetsembedded ./ceb) + CGO_ENABLED=0 go build -tags assetsembedded -o ./waypoint ./cmd/waypoint +} + +do_install() { + vlicense LICENSE + vbin waypoint +}