void-packages/srcpkgs/ffsend/template
2025-03-07 22:35:20 +00:00

24 lines
725 B
Bash

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