waitforfile: use cargo buildstyle
This commit is contained in:
parent
bfaf30f970
commit
0c3a7fe54d
@ -1,21 +1,15 @@
|
|||||||
# Template file for 'waitforfile'
|
# Template file for 'waitforfile'
|
||||||
pkgname=waitforfile
|
pkgname=waitforfile
|
||||||
version=0.1.8
|
version=0.1.8
|
||||||
revision=1
|
revision=2
|
||||||
hostmakedepends="cargo"
|
build_style=cargo
|
||||||
short_desc="Wait until the given file exists"
|
short_desc="Wait until the given file exists"
|
||||||
maintainer="cr6git <quark6@protonmail.com>"
|
maintainer="cr6git <quark6@protonmail.com>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://github.com/nroi/waitforfile"
|
homepage="https://github.com/nroi/waitforfile"
|
||||||
distfiles="${homepage}/archive/v${version}.tar.gz"
|
distfiles="${homepage}/archive/v${version}.tar.gz"
|
||||||
checksum=e63c7b964d4b475f4d84fba62a8b2e43593cbe73c7ce4840474836a978ca01a3
|
checksum=e63c7b964d4b475f4d84fba62a8b2e43593cbe73c7ce4840474836a978ca01a3
|
||||||
nocross=yes
|
|
||||||
|
|
||||||
do_build() {
|
post_install() {
|
||||||
cargo build --release ${makejobs}
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install() {
|
|
||||||
vbin target/release/waitforfile
|
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user