go-ipfs: fix build with go 1.6

This commit is contained in:
Michael Gehring 2016-02-19 21:33:47 +01:00
parent 492781e906
commit ed3c3a9c32
1 changed files with 4 additions and 0 deletions

View File

@ -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