mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 08:03:51 +02:00
servy: use cargo buildstyle
This commit is contained in:
parent
4ae2170e77
commit
f845e26b48
1 changed files with 5 additions and 14 deletions
|
@ -1,25 +1,16 @@
|
||||||
# Template file for 'servy'
|
# Template file for 'servy'
|
||||||
pkgname=servy
|
pkgname=servy
|
||||||
version=1.0.0
|
version=1.0.0
|
||||||
revision=1
|
revision=2
|
||||||
hostmakedepends="cargo rust pkg-config"
|
build_style=cargo
|
||||||
|
hostmakedepends="pkg-config"
|
||||||
short_desc="A tiny little web server"
|
short_desc="A tiny little web server"
|
||||||
maintainer="zethra <jediben97@gmail.com>"
|
maintainer="zethra <jediben97@gmail.com>"
|
||||||
license="Apache-2.0, MIT"
|
license="Apache-2.0, MIT"
|
||||||
homepage="https://github.com/zethra/servy"
|
homepage="https://github.com/zethra/servy"
|
||||||
distfiles="https://github.com/zethra/servy/archive/v${version}.tar.gz"
|
distfiles="https://github.com/zethra/servy/archive/${version}.tar.gz"
|
||||||
checksum=6da77ef18dd04c3840a5d3bebbf1552623d2357533405c32dfdb2853b8299c44
|
checksum=6da77ef18dd04c3840a5d3bebbf1552623d2357533405c32dfdb2853b8299c44
|
||||||
nocross=yes
|
|
||||||
|
|
||||||
do_build() {
|
post_install() {
|
||||||
cargo build --release
|
|
||||||
}
|
|
||||||
|
|
||||||
do_check() {
|
|
||||||
cargo test --release
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install() {
|
|
||||||
vbin target/release/servy
|
|
||||||
vlicense LICENSE-MIT
|
vlicense LICENSE-MIT
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue