# Contributor: Rasmus Thomsen # Maintainer: Rasmus Thomsen pkgname=ffsend pkgver=0.2.76 pkgrel=0 pkgdesc="A fully featured Firefox Send client" url="https://gitlab.com/timvisee/ffsend" arch="all !ppc64le !s390x !riscv64" # limited by cargo, ring dep license="GPL-3.0-only" makedepends="cargo openssl-dev" subpackages=" $pkgname-zsh-completion $pkgname-fish-completion $pkgname-bash-completion " source="https://gitlab.com/timvisee/ffsend/-/archive/v$pkgver/ffsend-v$pkgver.tar.gz" builddir="$srcdir/$pkgname-v$pkgver" build() { cargo build --release --locked } check() { cargo test --release --locked } package() { cargo install --locked --path . --root="$pkgdir/usr" rm "$pkgdir"/usr/.crates* install -Dm644 "$builddir"/contrib/completions/ffsend.bash \ "$pkgdir"/usr/share/bash-completion/completions/ffsend install -Dm644 "$builddir"/contrib/completions/_ffsend \ "$pkgdir"/usr/share/zsh/site-functions/_ffsend install -Dm644 "$builddir"/contrib/completions/ffsend.fish \ "$pkgdir"/usr/share/fish/completions/ffsend.fish } sha512sums=" 3b4ee66725e9770497620f62d1012aa31c7e11b8b95d931d56bee3077556e743ae2b71f727403cf7f45a6809959815f3b3d94b041fdb5530713b76e00541139c ffsend-v0.2.76.tar.gz "