void-packages/srcpkgs/ffsend/template
2020-07-16 15:04:20 -04:00

22 lines
637 B
Bash

# Template file for 'ffsend'
pkgname=ffsend
version=0.2.65
revision=1
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=a07f1c45888df7ed061d2bb8c035a0b158b9d3c84d533900043407108ce953d6
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
}