From 715b7df55f9b47d13bce7a376b4be48b9ce12603 Mon Sep 17 00:00:00 2001 From: Omar Zeghouani Date: Thu, 5 Aug 2021 23:54:23 +0100 Subject: [PATCH 1/2] New package: rbw-1.3.0 --- srcpkgs/rbw/template | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 srcpkgs/rbw/template diff --git a/srcpkgs/rbw/template b/srcpkgs/rbw/template new file mode 100644 index 000000000000..54d613301bba --- /dev/null +++ b/srcpkgs/rbw/template @@ -0,0 +1,28 @@ +# Template file for 'rbw' +pkgname=rbw +version=1.4.1 +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=70c55c1341f4181f8974f99ec24ee1caf918487135cfa578566d9e6c44eb47b0 + +post_build() { + for shell in bash fish zsh; do + vtargetrun target/${RUST_TARGET}/release/rbw gen-completions $shell > rbw.$shell + done +} + +post_install() { + vcompletion rbw.bash bash + vcompletion rbw.fish fish + vcompletion rbw.zsh zsh + + vlicense LICENSE +} From c7f0d818e828901ff8053bd5180947195ed83aa6 Mon Sep 17 00:00:00 2001 From: Omar Zeghouani Date: Wed, 11 Aug 2021 00:27:22 +0100 Subject: [PATCH 2/2] New package: rofi-rbw-0.4.1 --- srcpkgs/rofi-rbw/template | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 srcpkgs/rofi-rbw/template diff --git a/srcpkgs/rofi-rbw/template b/srcpkgs/rofi-rbw/template new file mode 100644 index 000000000000..713482b263cb --- /dev/null +++ b/srcpkgs/rofi-rbw/template @@ -0,0 +1,18 @@ +# Template file for 'rofi-rbw' +pkgname=rofi-rbw +version=0.4.1 +revision=1 +build_style=python3-pep517 +make_install_target="rofi_rbw-${version}-py3-none-any.whl" +hostmakedepends="python3-setuptools python3-wheel" +depends="python3 python3-ConfigArgParse rbw" +short_desc="Rofi frontend for Bitwarden" +maintainer="Omar Zeghouani " +license="MIT" +homepage="https://github.com/fdw/rofi-rbw" +distfiles="https://github.com/fdw/rofi-rbw/archive/${version}.tar.gz" +checksum=4fe4d2704980d32ef630d76db4057b66b9a7b26d74de76d030ae6f9d9f4e1a07 + +post_install() { + vlicense LICENSE +}