vp-build/srcpkgs/ipfs-cluster/template

26 lines
726 B
Bash

# Template file for 'ipfs-cluster'
pkgname=ipfs-cluster
version=0.2.1
revision=1
build_style=go
go_import_path="github.com/ipfs/ipfs-cluster"
go_package="github.com/ipfs/ipfs-cluster/ipfs-cluster-ctl github.com/ipfs/ipfs-cluster/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=813e5ddde55873793bb4adb2807436c30bdddeffea4fd99b7795b4b1b9244181
pre_build() {
gx install --global
gx-go rewrite
}
post_install() {
vlicense LICENSE
vdoc README.md
}