Package Details: goldwarden 0.3.2-1

Git Clone URL: https://aur.archlinux.org/goldwarden.git (read-only, click to copy)
Package Base: goldwarden
Description: A feature-packed Bitwarden compatible desktop integration
Upstream URL: https://github.com/quexten/goldwarden
Licenses: MIT
Submitter: quexten
Maintainer: quexten
Last Packager: quexten
Votes: 3
Popularity: 0.37
First Submitted: 2023-08-20 21:35 (UTC)
Last Updated: 2024-05-11 02:36 (UTC)

Latest Comments

pschichtel commented on 2024-05-20 16:59 (UTC)

It would be nice to have the completion scripts already generated as part of the package.

here is a patch:

From b8290f7dae6d68bdddecb712f2a46a8af845c498 Mon Sep 17 00:00:00 2001
From: Phillip Schichtel <phillip@schich.tel>
Date: Mon, 20 May 2024 18:57:48 +0200
Subject: [PATCH] Package completion scripts

---
 PKGBUILD | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/PKGBUILD b/PKGBUILD
index 0e95bcb..5afd974 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -32,7 +32,11 @@ build() {

 package() {
   cd "$pkgname-$pkgver"
-  install -Dm755 build/$pkgname "$pkgdir"/usr/bin/$pkgname
+  local bin="$pkgdir/usr/bin/$pkgname"
+  install -Dm755 build/$pkgname "$bin"
   install -Dm644 "$srcdir/$pkgname-$pkgver/cli/resources/com.quexten.goldwarden.policy" "$pkgdir/usr/share/polkit-1/actions/com.quexten.goldwarden.policy"
   chown root:root "$pkgdir/usr/share/polkit-1/actions/com.quexten.goldwarden.policy"
+  "$bin" completion bash | install -Dm644 /dev/stdin "$pkgdir/usr/share/bash-completion/completions/$pkgname"
+  "$bin" completion zsh | install -Dm644 /dev/stdin "$pkgdir/usr/share/zsh/site-functions/_$pkgname"
+  "$bin" completion fish | install -Dm644 /dev/stdin "$pkgdir/usr/share/fish/vendor_completions.d/$pkgname.fish"
 }
-- 
2.45.1

quexten commented on 2024-05-11 02:43 (UTC)

Installing should be fixed in 0.3.2-1, sorry about the breakage.

yochananmarqos commented on 2024-05-04 17:09 (UTC)

@quexten: The version.txt has moved to cli/cmd/.