Skip to content

Commit

Permalink
shfmt: update to 3.5.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
triallax committed May 24, 2022
1 parent 0501e70 commit f52af63
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions srcpkgs/shfmt/template
@@ -1,6 +1,6 @@
# Template file for 'shfmt'
pkgname=shfmt
version=3.4.2
version=3.5.1
revision=1
wrksrc="sh-${version}"
build_style=go
Expand All @@ -14,10 +14,16 @@ 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=2000656613bc4165fb1d419bedec08fcb23a625274f4505e303d18b204d8f5ee
checksum=f15ca9952ef6dc4c1051550152768a99dde0d3f72269d0510f75522a492270cf

post_install() {
scdoc < cmd/shfmt/shfmt.1.scd > shfmt.1
vman shfmt.1
vlicense LICENSE
}

do_check() {
# Taken from https://github.com/mvdan/sh/blob/master/.github/workflows/test.yml.
go test ./...
go test -race ./...
}

0 comments on commit f52af63

Please sign in to comment.