miniserve: use cargo buildstyle
This commit is contained in:
parent
27f886c4d5
commit
138391646f
1 changed files with 3 additions and 11 deletions
|
@ -1,8 +1,8 @@
|
||||||
# Template file for 'miniserve'
|
# Template file for 'miniserve'
|
||||||
pkgname=miniserve
|
pkgname=miniserve
|
||||||
version=0.2.0
|
version=0.2.0
|
||||||
revision=1
|
revision=2
|
||||||
hostmakedepends="cargo"
|
build_style=cargo
|
||||||
short_desc="CLI tool to serve files and dirs over HTTP"
|
short_desc="CLI tool to serve files and dirs over HTTP"
|
||||||
maintainer="cr6git <quark6@protonmail.com>"
|
maintainer="cr6git <quark6@protonmail.com>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
|
@ -10,14 +10,6 @@ homepage="https://github.com/svenstaro/miniserve"
|
||||||
distfiles="https://github.com/svenstaro/miniserve/archive/v${version}.tar.gz"
|
distfiles="https://github.com/svenstaro/miniserve/archive/v${version}.tar.gz"
|
||||||
checksum=2a0d4c7563b3b1b75ba0cccc69236976dc916378a41e7f994e28f8a766bded4c
|
checksum=2a0d4c7563b3b1b75ba0cccc69236976dc916378a41e7f994e28f8a766bded4c
|
||||||
|
|
||||||
nocross="https://travis-ci.org/voidlinux/void-packages/jobs/380263119#L1158
|
post_install() {
|
||||||
https://travis-ci.org/voidlinux/void-packages/jobs/380263118#L1167"
|
|
||||||
|
|
||||||
do_build() {
|
|
||||||
cargo build --release ${makejobs}
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install() {
|
|
||||||
vbin target/release/miniserve
|
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue