mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 02:42:56 +02:00
New package: miniserve-0.1.5 (#949)
This commit is contained in:
parent
4aa00a78cf
commit
bd97e08259
1 changed files with 24 additions and 0 deletions
24
srcpkgs/miniserve/template
Normal file
24
srcpkgs/miniserve/template
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# Template file for 'miniserve'
|
||||||
|
pkgname=miniserve
|
||||||
|
version=0.1.5
|
||||||
|
revision=1
|
||||||
|
hostmakedepends="cargo"
|
||||||
|
short_desc="CLI tool to serve files and dirs over HTTP"
|
||||||
|
maintainer="cr6git <quark6@protonmail.com>"
|
||||||
|
license="MIT"
|
||||||
|
homepage="https://github.com/svenstaro/miniserve"
|
||||||
|
distfiles="https://github.com/svenstaro/miniserve/archive/v${version}.tar.gz"
|
||||||
|
checksum=b435471cd08f3dbe080e26a0b6937c824502a87659948f49b5d2e54f07de64e0
|
||||||
|
|
||||||
|
nocross="https://travis-ci.org/voidlinux/void-packages/jobs/380263119#L1158
|
||||||
|
https://travis-ci.org/voidlinux/void-packages/jobs/380263118#L1167"
|
||||||
|
|
||||||
|
do_build() {
|
||||||
|
cargo build --release
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
vbin target/release/miniserve
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue