diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 5 insertions, 2 deletions
@@ -1,6 +1,6 @@ pkgbase = kbs2-git pkgdesc = A secret manager backed by age (git) - pkgver = 0.2.1.r0.g7c72d08 + pkgver = 0.2.2.r4.g408fb12 pkgrel = 1 url = https://github.com/woodruffw/kbs2 arch = x86_64 @@ -2,7 +2,7 @@ # https://github.com/orhun/pkgbuilds pkgname=kbs2-git -pkgver=0.2.1.r0.g7c72d08 +pkgver=0.2.2.r4.g408fb12 pkgrel=1 pkgdesc="A secret manager backed by age (git)" arch=('x86_64') @@ -35,4 +35,7 @@ package() { install -Dm 755 "target/release/${pkgname%-git}" -t "${pkgdir}/usr/bin" install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname" install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname" + "${pkgname%-git}" --completions bash | install -Dm 644 /dev/stdin "${pkgdir}/usr/share/bash-completion/completions/${pkgname%-git}" + "${pkgname%-git}" --completions fish | install -Dm 644 /dev/stdin "${pkgdir}/usr/share/fish/completions/${pkgname%-git}.fish" + "${pkgname%-git}" --completions zsh | install -Dm 644 /dev/stdin "${pkgdir}/usr/share/zsh/site-functions/_${pkgname%-git}" } |