From 4d927f48eb1598d65e2fb5c54c281c8cc4bb26cd Mon Sep 17 00:00:00 2001 From: Chris Brannon Date: Sat, 21 May 2016 22:36:18 -0700 Subject: [PATCH] go-ipfs: update to 0.4.2. (#4216) --- srcpkgs/go-ipfs/template | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/srcpkgs/go-ipfs/template b/srcpkgs/go-ipfs/template index 4fe13918db7..b80878662a1 100644 --- a/srcpkgs/go-ipfs/template +++ b/srcpkgs/go-ipfs/template @@ -1,7 +1,7 @@ # Template file for 'go-ipfs' pkgname=go-ipfs -version=0.4.1 -revision=2 +version=0.4.2 +revision=1 create_wrksrc=yes build_wrksrc=${pkgname}-${version} build_style=go @@ -12,15 +12,17 @@ maintainer="Christopher Brannon " license="MIT" homepage="https://ipfs.io" distfiles="https://${go_import_path}/archive/v${version}.tar.gz - http://the-brannons.com/ipfs-gx-deps-20160427.tar.xz" -checksum="b6bcab4d9da11339523cd178165c24f7784abda9dd820a8f3490c78da67be786 - 3c6d99f4847eba3d3956d1b2f2eb07e7e0fe108d6711f5353bbf3aaf059e4dde" + http://the-brannons.com/ipfs-gx-deps-${version}.tar.xz" +checksum="ade066235006411e688c7be2087ad1fc43ca4291a95cecf208a53f6032b70a55 + 8df94a35069e38b841bc5f79a1e83d60188e42d83086b43f8b7de6b5fd5cf9bd" do_build() { local path="${GOPATH}/src/${go_import_path}" mkdir -p "$(dirname ${path})" ln -fs $PWD "${path}" - ln -s "${wrksrc}/ipfs-gx-deps-20160427/src/gx" "${GOPATH}/src" + # I fetch all the deps with gx locally and bundle them in a tarball, + # so that we don't have to deal with packaging gx. + ln -s "${wrksrc}/ipfs-gx-deps-${version}/src/gx" "${GOPATH}/src" cd cmd/ipfs go build }