void-packages/srcpkgs/watchexec/template

20 lines
596 B
Bash

# Template file for 'watchexec'
pkgname=watchexec
version=1.17.1
revision=1
wrksrc="${pkgname}-cli-v${version}"
build_wrksrc="cli"
build_style=cargo
short_desc="Executes commands in response to file modifications"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Apache-2.0"
homepage="https://github.com/watchexec/watchexec"
distfiles="https://github.com/watchexec/watchexec/archive/refs/tags/cli-v${version}.tar.gz"
checksum=3bc82174729628010d29c85f2d2c61cc45cef5cc729f13153b1422c8f647d33f
post_install() {
vdoc ../README.md
vman ../doc/watchexec.1
vcompletion ../completions/zsh zsh
}