void-packages/srcpkgs/rbw/template

25 lines
718 B
Bash
Raw Normal View History

2021-08-06 00:54:23 +02:00
# Template file for 'rbw'
pkgname=rbw
version=1.4.3
revision=1
2022-06-22 22:19:32 +02:00
archs="x86_64* i686* aarch64* arm*" # ring
2021-08-06 00:54:23 +02:00
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=2738aa6e868bf16292fcad9c9a45c60fe310d2303d06aea7875788bacda9b15b
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
}