void-packages/srcpkgs/go-ipfs/template

20 lines
614 B
Bash

# Template file for 'go-ipfs'
pkgname=go-ipfs
version=0.3.10
revision=1
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=5f3e465ed0b37e1886ea71bd89586faf5968048be18e8105b7ca908376865edc
post_install() {
vinstall misc/completion/ipfs-completion.bash 644 usr/share/bash-completion/completions ipfs
vlicense LICENSE
vdoc README.md
}