27 lines
799 B
Bash
27 lines
799 B
Bash
# Template file for 'watchexec'
|
|
pkgname=watchexec
|
|
version=2.1.1
|
|
revision=1
|
|
build_style=cargo
|
|
make_install_args="--path crates/cli"
|
|
make_check_args="-- --skip scopes" # test fails in chroot
|
|
short_desc="Executes commands in response to file modifications"
|
|
maintainer="cinerea0 <cinerea0@protonmail.com>"
|
|
license="Apache-2.0"
|
|
homepage="https://github.com/watchexec/watchexec"
|
|
changelog="https://github.com/watchexec/watchexec/releases"
|
|
distfiles="https://github.com/watchexec/watchexec/archive/refs/tags/v${version}.tar.gz"
|
|
checksum=8d8e3c1de05daae24a31ea59d61631812b6044a74231aaa0e5a2ee15203898e8
|
|
|
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
|
XBPS_CROSS_RUSTFLAGS+=" -latomic"
|
|
fi
|
|
|
|
post_install() {
|
|
for shell in bash fish zsh; do
|
|
vcompletion completions/${shell} ${shell}
|
|
done
|
|
|
|
vman doc/watchexec.1
|
|
}
|