knit: revbump for go 1.21

This commit is contained in:
Kirill 2023-08-14 19:34:17 +04:00 committed by Michael Aldridge
parent 50033e19b6
commit 34fd844dfa

View file

@ -1,9 +1,9 @@
# Template file for 'knit'
pkgname=knit
version=1.1.1
revision=1
revision=2
build_style=go
go_import_path="./cmd/..."
go_import_path="github.com/zyedidia/knit"
go_ldflags="-X github.com/zyedidia/knit/info.Version=$version"
hostmakedepends="pandoc"
short_desc="Simple and flexible build tool using Lua, similar to make/mk"
@ -12,6 +12,7 @@ license="MIT, MPL-2.0"
homepage="https://github.com/zyedidia/knit"
distfiles="https://github.com/zyedidia/knit/archive/refs/tags/v${version}.tar.gz"
checksum=f4a073568ef3b44d4cf80f4acff021368c5a2cc4f047ce7b4c6b5bfa57562e2b
go_packages="./cmd/knit"
post_build() {
go run ./tools/replace/replace.go man/knit.md | pandoc -s -t man -o knit.1