From 39a0741c1219b278af7ed6161f003fc87fd16be1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ey=C3=9Fer?= Date: Mon, 27 Dec 2021 20:33:26 +0100 Subject: [PATCH] kopia: update to 0.9.8. --- .../0001-fix-build-on-some-other-archs.patch | 36 ------------------- srcpkgs/kopia/template | 8 ++--- 2 files changed, 4 insertions(+), 40 deletions(-) delete mode 100644 srcpkgs/kopia/patches/0001-fix-build-on-some-other-archs.patch diff --git a/srcpkgs/kopia/patches/0001-fix-build-on-some-other-archs.patch b/srcpkgs/kopia/patches/0001-fix-build-on-some-other-archs.patch deleted file mode 100644 index 45da58ec9728..000000000000 --- a/srcpkgs/kopia/patches/0001-fix-build-on-some-other-archs.patch +++ /dev/null @@ -1,36 +0,0 @@ -From c459db789408dd31232911e5ba4832aecec41797 Mon Sep 17 00:00:00 2001 -From: q66 -Date: Mon, 12 Jul 2021 21:06:46 +0200 -Subject: [PATCH] fix build on some other archs - ---- - fs/localfs/local_fs_32bit.go | 2 +- - fs/localfs/local_fs_64bit.go | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/fs/localfs/local_fs_32bit.go b/fs/localfs/local_fs_32bit.go -index 4ab8478..863d184 100644 ---- a/fs/localfs/local_fs_32bit.go -+++ b/fs/localfs/local_fs_32bit.go -@@ -1,5 +1,5 @@ - // +build !windows --// +build !amd64,!arm64,!arm darwin -+// +build !amd64,!arm64,!arm,!ppc64,!ppc64le,!s390x,!386 darwin - - package localfs - -diff --git a/fs/localfs/local_fs_64bit.go b/fs/localfs/local_fs_64bit.go -index 156f85f..f33bf34 100644 ---- a/fs/localfs/local_fs_64bit.go -+++ b/fs/localfs/local_fs_64bit.go -@@ -1,6 +1,6 @@ - // +build !windows - // +build !darwin --// +build amd64 arm64 arm -+// +build amd64 arm64 ppc64 ppc64le s390x arm 386 - - package localfs - --- -2.31.1 - diff --git a/srcpkgs/kopia/template b/srcpkgs/kopia/template index 709f34e80bd8..1485940c09d6 100644 --- a/srcpkgs/kopia/template +++ b/srcpkgs/kopia/template @@ -1,9 +1,9 @@ # Template file for 'kopia' pkgname=kopia -version=0.8.4 -revision=2 +version=0.9.8 +revision=1 build_style=go -build_helper="qemu" +build_helper=qemu go_import_path=github.com/kopia/kopia go_ldflags="-X ${go_import_path}/repo.BuildVersion=${version} -X '${go_import_path}/repo.BuildInfo=Void Linux'" @@ -12,7 +12,7 @@ maintainer="Daniel Eyßer " license="Apache-2.0" homepage="https://kopia.io/" distfiles="https://github.com/kopia/kopia/archive/v${version}.tar.gz" -checksum=8e2663546fb426faacb4dd9425cdbba4fa2e8ca5df0aac0545d216c8e57d40ef +checksum=855a785778442322c4ef5de7ba666879906dac7e3d6d04746f97bb4694f6c82b post_install() { for shell in bash zsh; do