void-packages/srcpkgs/ipfs-cluster/template

26 lines
704 B
Bash

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