New package: servy-0.3.0
This commit is contained in:
parent
2b76684efe
commit
f12a093291
1 changed files with 26 additions and 0 deletions
26
srcpkgs/servy/template
Normal file
26
srcpkgs/servy/template
Normal file
|
@ -0,0 +1,26 @@
|
|||
# Template file for 'servy'
|
||||
pkgname=servy
|
||||
version=0.3.0
|
||||
revision=1
|
||||
hostmakedepends="cargo rust pkg-config"
|
||||
short_desc="A tiny little web server"
|
||||
maintainer="zethra <jediben97@gmail.com>"
|
||||
license="Apache-2.0, MIT"
|
||||
homepage="https://github.com/zethra/servy"
|
||||
distfiles="https://github.com/zethra/servy/archive/v${version}.tar.gz"
|
||||
checksum=f75a829a7ff73beb99fc734d41a1bdbd23c29c7e1794e59be699db474b8b5a89
|
||||
nocross=yes
|
||||
|
||||
do_build() {
|
||||
cargo build --release
|
||||
}
|
||||
|
||||
do_check() {
|
||||
cargo test --release
|
||||
}
|
||||
|
||||
do_install() {
|
||||
vbin target/release/"${pkgname}"
|
||||
vlicense LICENSE-APACHE
|
||||
vlicense LICENSE-MIT
|
||||
}
|
Loading…
Reference in a new issue