# Template file for 'waitforfile'
pkgname=waitforfile
version=0.1.7
revision=1
hostmakedepends="cargo"
short_desc="Wait until the given file exists"
maintainer="cr6git <quark6@protonmail.com>"
license="MIT"
homepage="https://github.com/nroi/waitforfile"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=cc0d0e71341c45ff4f7b4e3cd76229fa896ff80307ce7de653586f3040250c21
nocross=yes

do_build() {
	cargo build --release ${makejobs}
}

do_install() {
	vbin target/release/waitforfile
	vlicense LICENSE
}
