void-packages/srcpkgs/ffsend/template
2021-03-05 19:34:59 +01:00

22 lines
636 B
Bash

# Template file for 'ffsend'
pkgname=ffsend
version=0.2.68
revision=2
build_style=cargo
hostmakedepends="pkg-config"
makedepends="openssl-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=749046507274f03a1e667cf2302b5b3ac2a977e44ae3f9594be65ce0fca40daf
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
}