void-packages/srcpkgs/ffsend/template
2020-10-31 12:53:12 +01:00

22 lines
637 B
Bash

# Template file for 'ffsend'
pkgname=ffsend
version=0.2.68
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=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
}