void-packages/srcpkgs/ffsend/template

22 lines
637 B
Bash

# Template file for 'ffsend'
pkgname=ffsend
version=0.2.64
revision=3
build_style=cargo
hostmakedepends="pkg-config"
makedepends="libressl-devel"
short_desc="Fully featured Firefox Send client"
maintainer="Jasper Chan <jasperchan515@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://github.com/timvisee/ffsend"
distfiles="https://github.com/timvisee/ffsend/archive/v${version}.tar.gz"
checksum=bb4c435e864cd543075b3a35a9d6af62d51c7a1a1859e381518da0a52c073e99
post_extract() {
# avoid ring dependency
vsed -i 's,"crypto-ring","crypto-openssl",' Cargo.toml
}
pre_build() {
cargo update --package openssl-sys --precise 0.9.58
}