void-packages/srcpkgs/go-ipfs/template

25 lines
689 B
Bash
Raw Normal View History

# Template file for 'go-ipfs'
pkgname=go-ipfs
version=0.3.11
2016-04-13 11:43:37 +02:00
revision=3
build_style=go
go_import_path="github.com/ipfs/${pkgname}"
go_package="${go_import_path}/cmd/ipfs"
short_desc="Global versioned P2P merkle DAG file system"
maintainer="Christopher Brannon <chris@the-brannons.com>"
license="MIT"
homepage="https://ipfs.io"
distfiles="https://${go_import_path}/archive/v${version}.tar.gz"
checksum=1806fea22ccee0c8005fffdd6391531c8df44f23571b3e9539f6fa3a0d4efb01
broken=yes
2016-02-19 21:33:47 +01:00
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
vdoc README.md
}