New package: knit-1.1.1

This commit is contained in:
Leah Neukirchen 2023-05-08 14:35:25 +02:00
parent 32fdc9afd6
commit 0bc96593fd
1 changed files with 24 additions and 0 deletions

24
srcpkgs/knit/template Normal file
View File

@ -0,0 +1,24 @@
# Template file for 'knit'
pkgname=knit
version=1.1.1
revision=1
build_style=go
go_import_path="./cmd/..."
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"
maintainer="Leah Neukirchen <leah@vuxu.org>"
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
post_build() {
go run ./tools/replace/replace.go man/knit.md | pandoc -s -t man -o knit.1
}
post_install() {
vman knit.1
vlicense LICENSE
vlicense LICENSE-EXTRA
}