From 9e7ff1f88e26e9e995e67471264d8f3263356e0c Mon Sep 17 00:00:00 2001 From: Omar Zeghouani Date: Thu, 5 Aug 2021 23:54:23 +0100 Subject: [PATCH] New package: rbw-1.4.3 --- srcpkgs/rbw/template | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 srcpkgs/rbw/template diff --git a/srcpkgs/rbw/template b/srcpkgs/rbw/template new file mode 100644 index 00000000000..ed98c161761 --- /dev/null +++ b/srcpkgs/rbw/template @@ -0,0 +1,23 @@ +# Template file for 'rbw' +pkgname=rbw +version=1.4.3 +revision=1 +build_style="cargo" +build_helper="qemu" +depends="pinentry" +short_desc="Unofficial command line client for Bitwarden" +maintainer="Omar Zeghouani " +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 +}