waitforfile: use cargo buildstyle
This commit is contained in:
parent
bfaf30f970
commit
0c3a7fe54d
1 changed files with 3 additions and 9 deletions
|
@ -1,21 +1,15 @@
|
|||
# Template file for 'waitforfile'
|
||||
pkgname=waitforfile
|
||||
version=0.1.8
|
||||
revision=1
|
||||
hostmakedepends="cargo"
|
||||
revision=2
|
||||
build_style=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
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue