From 33c38452e00349843f3a70b59219de18589b06ac Mon Sep 17 00:00:00 2001 From: Andrea Brancaleoni Date: Sun, 2 Apr 2023 08:43:39 +0900 Subject: [PATCH] crane: update to 3.6.1. --- srcpkgs/crane/template | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/srcpkgs/crane/template b/srcpkgs/crane/template index 5a304a9faf7..19dd6a34bd0 100644 --- a/srcpkgs/crane/template +++ b/srcpkgs/crane/template @@ -1,15 +1,21 @@ # Template file for 'crane' pkgname=crane -version=3.6.0 +version=3.6.1 revision=1 build_style=go short_desc="Lift containers with ease" maintainer="Andrea Brancaleoni " license="MIT" go_import_path="github.com/michaelsauter/crane" +go_mod_mode=default homepage="https://github.com/michaelsauter/crane" distfiles="${homepage}/archive/v${version}.tar.gz" -checksum=00f202783ae2ef3a2d0e02fba0454defe53e823b4c99e2e3b5af734dc870906e +checksum=d417f9f664bcb2365e5b8fced608ce66b7c029fe2d3bfbc23b81a263dd962461 + +pre_configure() { + sed -i 's|github.com/michaelsauter/crane/v3|github.com/michaelsauter/crane|g' go.mod + sed -i 's|github.com/michaelsauter/crane/v3|github.com/michaelsauter/crane|g' main.go +} post_install() { vlicense LICENSE