27 lines
793 B
Bash
27 lines
793 B
Bash
# Template file for 'knit'
|
|
pkgname=knit
|
|
version=1.1.1
|
|
revision=3
|
|
build_style=go
|
|
go_package="github.com/zyedidia/knit/cmd/knit"
|
|
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"
|
|
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
|
|
go_packages="./cmd/knit"
|
|
|
|
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
|
|
}
|