38 lines
985 B
Bash
38 lines
985 B
Bash
# Template file for 'kubo'
|
|
pkgname=kubo
|
|
version=0.29.0
|
|
revision=1
|
|
build_style=go
|
|
go_import_path="github.com/ipfs/kubo"
|
|
go_package="${go_import_path}/cmd/ipfs ${go_import_path}/cmd/ipfswatch"
|
|
hostmakedepends="git"
|
|
depends="fs-repo-migrations>=1.7.1"
|
|
short_desc="Global versioned P2P merkle DAG file system"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="MIT, Apache-2.0"
|
|
homepage="https://ipfs.io"
|
|
changelog="https://github.com/ipfs/kubo/blob/master/CHANGELOG.md"
|
|
distfiles="https://github.com/ipfs/kubo/archive/v${version}.tar.gz"
|
|
checksum=7679ed1b2c6a713b2297ab025d83a50c17fbcebf7e3af3b92be06cb9678a40f5
|
|
|
|
system_accounts="_ipfs"
|
|
make_dirs="/var/lib/ipfs 0700 _ipfs _ipfs"
|
|
_ipfs_homedir="/var/lib/ipfs"
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
export CGO_ENABLED=0
|
|
fi
|
|
|
|
post_install() {
|
|
vlicense LICENSE-MIT
|
|
vdoc README.md
|
|
vdoc CHANGELOG.md
|
|
vsv ipfs
|
|
}
|
|
|
|
go-ipfs_package() {
|
|
build_style=meta
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - transitional dummy package"
|
|
}
|