2015-12-06 15:29:07 +01:00
|
|
|
# Template file for 'go-ipfs'
|
|
|
|
pkgname=go-ipfs
|
2016-01-13 12:14:53 +01:00
|
|
|
version=0.3.11
|
2016-04-13 11:43:37 +02:00
|
|
|
revision=3
|
2015-12-06 15:29:07 +01:00
|
|
|
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"
|
2016-01-13 12:14:53 +01:00
|
|
|
checksum=1806fea22ccee0c8005fffdd6391531c8df44f23571b3e9539f6fa3a0d4efb01
|
2016-04-13 12:28:57 +02:00
|
|
|
broken=yes
|
2015-12-06 15:29:07 +01:00
|
|
|
|
2016-02-19 21:33:47 +01:00
|
|
|
do_build() {
|
|
|
|
GO15VENDOREXPERIMENT=0 go get -x ${go_package}
|
|
|
|
}
|
|
|
|
|
2015-12-06 15:29:07 +01:00
|
|
|
post_install() {
|
|
|
|
vinstall misc/completion/ipfs-completion.bash 644 usr/share/bash-completion/completions ipfs
|
|
|
|
vlicense LICENSE
|
|
|
|
vdoc README.md
|
|
|
|
}
|