From 12ec36dbb0b1a420f13e8d5b90bdde90555084ae Mon Sep 17 00:00:00 2001 From: Daniel Lewan Date: Fri, 24 Dec 2021 13:53:26 +0100 Subject: [PATCH] shfmt: update to 3.4.2. --- srcpkgs/shfmt/template | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/srcpkgs/shfmt/template b/srcpkgs/shfmt/template index 96d51f68abf5..eb08353dea7b 100644 --- a/srcpkgs/shfmt/template +++ b/srcpkgs/shfmt/template @@ -1,11 +1,12 @@ # Template file for 'shfmt' pkgname=shfmt -version=3.4.1 +version=3.4.2 revision=1 wrksrc="sh-${version}" build_style=go go_import_path=mvdan.cc/sh/v3 go_package="${go_import_path}/cmd/shfmt" +go_ldflags="-X main.version=${version}" hostmakedepends="scdoc" short_desc="Shell parser and formatter" maintainer="Daniel Lewan " @@ -13,7 +14,7 @@ license="BSD-3-Clause" homepage="https://github.com/mvdan/sh" changelog="https://raw.githubusercontent.com/mvdan/sh/master/CHANGELOG.md" distfiles="https://github.com/mvdan/sh/archive/v${version}.tar.gz" -checksum=a9e7a09dd0b099b8699b54af0e5911c19412dc7cea206e32377d974427688be1 +checksum=2000656613bc4165fb1d419bedec08fcb23a625274f4505e303d18b204d8f5ee post_install() { scdoc < cmd/shfmt/shfmt.1.scd > shfmt.1