34 lines
1.0 KiB
Bash
34 lines
1.0 KiB
Bash
# Template file for 'go-ipfs'
|
|
pkgname=go-ipfs
|
|
version=0.4.21
|
|
revision=1
|
|
create_wrksrc=yes
|
|
build_wrksrc="${pkgname}-${version}"
|
|
build_style=go
|
|
go_import_path="github.com/ipfs/${pkgname}"
|
|
go_package="${go_import_path}/cmd/ipfs"
|
|
hostmakedepends="git"
|
|
depends="fs-repo-migrations>=1.3.0"
|
|
short_desc="Global versioned P2P merkle DAG file system"
|
|
maintainer="Christopher Brannon <chris@the-brannons.com>"
|
|
license="MIT Apache-2.0"
|
|
homepage="https://ipfs.io"
|
|
changelog="https://github.com/ipfs/go-ipfs/blob/master/CHANGELOG.md"
|
|
distfiles="https://${go_import_path}/archive/v${version}.tar.gz"
|
|
checksum=88d2208ee3468baa3966998bd3dcdaafe645640653a7a6b47ce2711464a46a5a
|
|
broken="go-critic@v0.0.0-20181204210945-ee9bf5809ead: invalid pseudo-version"
|
|
|
|
pre_build() {
|
|
# Disable the dynamic plugin loader for now; breaks cross.
|
|
if [ "$CROSS_BUILD" ]; then
|
|
rm plugin/loader/load_linux.go
|
|
fi
|
|
}
|
|
|
|
post_install() {
|
|
vinstall misc/completion/ipfs-completion.bash 644 usr/share/bash-completion/completions ipfs
|
|
vlicense LICENSE-MIT
|
|
vdoc README.md
|
|
vdoc CHANGELOG.md
|
|
}
|