Commit 58155b74 authored by Leo's avatar Leo
Browse files

community/yq: upgrade to 4.4.1

parent 425627c4
# Contributor: Tuan Hoang <tmhoang@linux.ibm.com>
# Maintainer: Tuan Hoang <tmhoang@linux.ibm.com>
pkgname=yq
pkgver=3.4.1
pkgver=4.4.1
pkgrel=0
pkgdesc="portable command-line YAML processor written in Go"
url="https://github.com/mikefarah/yq"
......@@ -15,7 +15,7 @@ subpackages="
$pkgname-zsh-completion
$pkgname-fish-completion
"
source="$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz"
source="$pkgname-$pkgver.tar.gz::https://github.com/mikefarah/yq/archive/v$pkgver.tar.gz"
builddir="$srcdir/${url##*//}"
......@@ -42,12 +42,12 @@ package() {
mkdir -p "$pkgdir"/usr/share/bash-completion/completions \
"$pkgdir"/usr/share/zsh/site-functions \
"$pkgdir"/usr/share/fish/completions
"$pkgdir"/usr/bin/yq shell-completion --variation bash \
"$pkgdir"/usr/bin/yq shell-completion bash \
> "$pkgdir"/usr/share/bash-completion/completions/yq.bash
"$pkgdir"/usr/bin/yq shell-completion --variation zsh \
"$pkgdir"/usr/bin/yq shell-completion zsh \
> "$pkgdir"/usr/share/zsh/site-functions/_yq
"$pkgdir"/usr/bin/yq shell-completion --variation fish \
"$pkgdir"/usr/bin/yq shell-completion fish \
> "$pkgdir"/usr/share/fish/completions/yq.fish
}
sha512sums="b23c7ecf96a9ae1ca551989467b5c1fb04a71b91895e97f092a4c50dcf5d1651808f68ee0c3bb4a81a4cb2b08771f81130b67abbb8cfece781acb38a4e9ee315 yq-3.4.1.tar.gz"
sha512sums="e7d400fb41892fcaedae80f6cfa3abd83e6510688e83a707cdeaa8b048bfc2202ac48700b0352981e7392025cb09529562bed9d122a530e1a746847708c21bc7 yq-4.4.1.tar.gz"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment