From ed3c3a9c329acbf41d35d2226018f5467c963974 Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Fri, 19 Feb 2016 21:33:47 +0100 Subject: [PATCH] go-ipfs: fix build with go 1.6 --- srcpkgs/go-ipfs/template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srcpkgs/go-ipfs/template b/srcpkgs/go-ipfs/template index 2061934c39e..eda369238d9 100644 --- a/srcpkgs/go-ipfs/template +++ b/srcpkgs/go-ipfs/template @@ -12,6 +12,10 @@ homepage="https://ipfs.io" distfiles="https://${go_import_path}/archive/v${version}.tar.gz" checksum=1806fea22ccee0c8005fffdd6391531c8df44f23571b3e9539f6fa3a0d4efb01 +do_build() { + GO15VENDOREXPERIMENT=0 go get -x ${go_package} +} + post_install() { vinstall misc/completion/ipfs-completion.bash 644 usr/share/bash-completion/completions ipfs vlicense LICENSE