void-packages/srcpkgs/ipfs-cluster/template
2019-03-31 21:54:56 -04:00

26 lines
750 B
Bash

# Template file for 'ipfs-cluster'
pkgname=ipfs-cluster
version=0.10.0
revision=1
build_style=go
go_import_path="github.com/ipfs/ipfs-cluster"
go_package="${go_import_path}/cmd/ipfs-cluster-ctl ${go_import_path}/cmd/ipfs-cluster-service"
hostmakedepends="git wget gx-go"
depends="go-ipfs"
short_desc="Collective pinning and composition for IPFS"
maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
license="Apache-2.0, MIT"
homepage="https://github.com/ipfs/ipfs-cluster"
distfiles="https://github.com/ipfs/ipfs-cluster/archive/v${version}.tar.gz"
checksum=d07d7cda5399377abef460172c8a9c97ff4646573ee5e241d7cb0fada711305c
pre_build() {
gx install --global
gx-go rewrite
}
post_install() {
vlicense LICENSE-MIT
vlicense COPYRIGHT
vdoc README.md
}