mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 07:33:48 +02:00
go-ipfs: update to 0.22.0.
This commit is contained in:
parent
947a0b2442
commit
f9e09915c5
1 changed files with 10 additions and 14 deletions
|
@ -1,11 +1,11 @@
|
||||||
# Template file for 'go-ipfs'
|
# Template file for 'go-ipfs'
|
||||||
pkgname=go-ipfs
|
pkgname=go-ipfs
|
||||||
version=0.11.0
|
version=0.22.0
|
||||||
revision=2
|
revision=1
|
||||||
build_style=go
|
build_style=go
|
||||||
go_import_path="github.com/ipfs/go-ipfs"
|
go_import_path="github.com/ipfs/kubo"
|
||||||
go_package="${go_import_path}/cmd/ipfs"
|
go_package="${go_import_path}/cmd/ipfs ${go_import_path}/cmd/ipfswatch"
|
||||||
hostmakedepends="git"
|
hostmakedepends="git go1.20"
|
||||||
depends="fs-repo-migrations>=1.7.1"
|
depends="fs-repo-migrations>=1.7.1"
|
||||||
short_desc="Global versioned P2P merkle DAG file system"
|
short_desc="Global versioned P2P merkle DAG file system"
|
||||||
maintainer="Christopher Brannon <chris@the-brannons.com>"
|
maintainer="Christopher Brannon <chris@the-brannons.com>"
|
||||||
|
@ -13,20 +13,16 @@ license="MIT, Apache-2.0"
|
||||||
homepage="https://ipfs.io"
|
homepage="https://ipfs.io"
|
||||||
changelog="https://github.com/ipfs/go-ipfs/blob/master/CHANGELOG.md"
|
changelog="https://github.com/ipfs/go-ipfs/blob/master/CHANGELOG.md"
|
||||||
distfiles="https://github.com/ipfs/go-ipfs/archive/v${version}.tar.gz"
|
distfiles="https://github.com/ipfs/go-ipfs/archive/v${version}.tar.gz"
|
||||||
checksum=fb97e50a5d259f0c07c6b6602b52d2bc71b08eaa8601fbbacb454540630be20c
|
checksum=886193dda20345a3d3ed6702629caa98212f1f0622f80c65bea1b737957fbb16
|
||||||
|
|
||||||
system_accounts="_ipfs"
|
system_accounts="_ipfs"
|
||||||
make_dirs="/var/lib/ipfs 0700 _ipfs _ipfs"
|
make_dirs="/var/lib/ipfs 0700 _ipfs _ipfs"
|
||||||
_ipfs_homedir="/var/lib/ipfs"
|
_ipfs_homedir="/var/lib/ipfs"
|
||||||
|
|
||||||
broken="GOTOOLCHAIN not supported"
|
export GOTOOLCHAIN=go1.20
|
||||||
|
|
||||||
pre_build() {
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
export CGO_ENABLED=0
|
export CGO_ENABLED=0
|
||||||
fi
|
fi
|
||||||
export GOTOOLCHAIN="go1.16"
|
|
||||||
}
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE-MIT
|
vlicense LICENSE-MIT
|
||||||
|
|
Loading…
Add table
Reference in a new issue