# Template file for 'shikane'
pkgname=shikane
version=1.0.1
revision=1
build_style=cargo
hostmakedepends="pandoc"
short_desc="Deterministic dynamic output configuration tool"
maintainer="Xavier Fortier <xavier.fortier@proton.me>"
license="MIT"
homepage="https://gitlab.com/w0lff/shikane"
changelog="https://gitlab.com/w0lff/shikane/-/raw/master/CHANGELOG.md"
distfiles="https://gitlab.com/w0lff/shikane/-/archive/v${version}/shikane-v${version}.tar.gz"
checksum=9aa9a3f8c62d28f89a6c6334a9351dd8ad70c93b6606dd317d8b6efedf478810

post_install() {
	vlicense LICENSE

	./scripts/build-docs.sh man
	vman build/man/shikane.1.gz
	vman build/man/shikane.5.gz
	vman build/man/shikanectl.1.gz
}
