void-packages/srcpkgs/zou/template

24 lines
652 B
Bash

# Template file for 'zou'
pkgname=zou
version=0.2.0
revision=6
build_style=cargo
hostmakedepends="pkg-config"
makedepends="libressl-devel"
short_desc="Simple and fast download accelerator, written in Rust"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/k0pernicus/zou"
distfiles="https://github.com/k0pernicus/zou/archive/v${version}.tar.gz"
checksum=cb47cb1023991135c2ae168f436f3ddae497393d7ac3c8b15a174eef2a191f3f
broken="constraints force old openssl crate, incompatible with libressl"
pre_build() {
cargo update
cargo update --package openssl-sys --precise 0.9.35
}
post_install() {
vlicense LICENSE
}