void-packages/srcpkgs/waitforfile/template

22 lines
511 B
Bash

# Template file for 'waitforfile'
pkgname=waitforfile
version=0.1.8
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=e63c7b964d4b475f4d84fba62a8b2e43593cbe73c7ce4840474836a978ca01a3
nocross=yes
do_build() {
cargo build --release ${makejobs}
}
do_install() {
vbin target/release/waitforfile
vlicense LICENSE
}