void-packages/srcpkgs/rbw/template

25 lines
719 B
Bash

# Template file for 'rbw'
pkgname=rbw
version=1.10.2
revision=1
archs="x86_64* i686* aarch64* arm*" # ring
build_style="cargo"
build_helper="qemu"
depends="pinentry"
short_desc="Unofficial command line client for Bitwarden"
maintainer="Omar Zeghouani <omarzeghouanii@gmail.com>"
license="MIT"
homepage="https://git.tozt.net/rbw"
changelog="https://git.tozt.net/rbw/plain/CHANGELOG.md"
distfiles="https://git.tozt.net/rbw/snapshot/rbw-${version}.tar.gz"
checksum=e0e4da2b95dc6f141e0597340e535c61224716b2a7220dce5418555d18e672c2
post_install() {
for shell in bash fish zsh; do
vtargetrun target/${RUST_TARGET}/release/rbw gen-completions $shell > rbw.$shell
vcompletion rbw.$shell $shell
done
vlicense LICENSE
}