From 072475b03e2d9d658675fafcaaf51b3bee18de69 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..cdf21a368234 --- /dev/null +++ b/srcpkgs/rbw/template @@ -0,0 +1,28 @@ +# Template file for 'rbw' +pkgname=rbw +version=1.3.0 +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=7255e322b8c6bd6ee9da00f4c54211e94a132abec15b9f51b8351af31a4744ac + +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 75342571f7ad0788b5444043017776b2bbc06658 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 | 17 +++++++++++++++++ 1 file changed, 17 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..69a0fbc771ae --- /dev/null +++ b/srcpkgs/rofi-rbw/template @@ -0,0 +1,17 @@ +# 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" +depends="python3 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 +}