testing/ghq: upgrade to 1.6.1

Add fish completion.
This commit is contained in:
Hoang Nguyen 2024-05-04 00:00:00 +07:00 committed by omni
parent de17bed58c
commit cd53873153

View File

@ -1,7 +1,7 @@
# Maintainer: Hoang Nguyen <folliekazetani@protonmail.com>
pkgname=ghq
pkgver=1.5.0
pkgrel=2
pkgver=1.6.1
pkgrel=0
pkgdesc="CLI to manage remote repository clones"
url="https://github.com/x-motemen/ghq"
arch="all"
@ -10,6 +10,7 @@ makedepends="asciidoctor go"
subpackages="
$pkgname-doc
$pkgname-bash-completion
$pkgname-fish-completion
$pkgname-zsh-completion
"
source="$pkgname-$pkgver.tar.gz::https://github.com/x-motemen/ghq/archive/refs/tags/v$pkgver.tar.gz"
@ -37,10 +38,12 @@ package() {
install -Dm644 misc/bash/_ghq \
"$pkgdir"/usr/share/bash-completion/completions/ghq
install -Dm644 misc/fish/ghq.fish \
"$pkgdir"/usr/share/fish/vendor_completions.d/ghq.fish
install -Dm644 misc/zsh/_ghq \
"$pkgdir"/usr/share/zsh/site-functions/_ghq
}
sha512sums="
b626b86bbad033252902c2f6978d767e33d51e5f5643c39daea930b65b253824ff9b777688d36bc178117bcbe40de6d2d9f3322f38ed1d195d2eacf5e15ec625 ghq-1.5.0.tar.gz
fd3071e666b31a7ae79908c9ff64ab18ac7c3ee452bcef1745d2f281dd111aa6b81d81ff0b29d76963c478380fb6dc330c3ee4fe325dfbbb121b407373f3be43 ghq-1.6.1.tar.gz
"