void-packages/srcpkgs/ffsend/template

25 lines
725 B
Bash

# Template file for 'ffsend'
pkgname=ffsend
version=0.2.76
revision=3
build_style=cargo
hostmakedepends="pkg-config"
makedepends="openssl-devel"
short_desc="Fully featured Firefox Send client"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://github.com/timvisee/ffsend"
distfiles="https://github.com/timvisee/ffsend/archive/v${version}.tar.gz"
checksum=7d91fc411b7363fd8842890c5ed25d6cc4481f76cd48dcac154cd6e99f8c4d7b
post_extract() {
# avoid ring dependency
vsed -i 's,"crypto-ring","crypto-openssl",' Cargo.toml
}
post_install() {
vcompletion contrib/completions/ffsend.bash bash
vcompletion contrib/completions/ffsend.fish fish
vcompletion contrib/completions/_ffsend zsh
}