diff options
author | github-actions[bot] | 2023-11-18 00:44:03 +0000 |
---|---|---|
committer | github-actions[bot] | 2023-11-18 00:44:03 +0000 |
commit | d459cc26b0c77f50c75ce3f4ec4a3eaff7b4a146 (patch) | |
tree | 3e68ae9174bc7f38941272e9eefd5e5e67f4cce6 | |
parent | bbf57c821914d350c3d7d75dffa0c6e4ed426a18 (diff) | |
download | aur-d459cc26b0c77f50c75ce3f4ec4a3eaff7b4a146.tar.gz |
Automatic update
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 13 |
2 files changed, 9 insertions, 6 deletions
@@ -1,7 +1,7 @@ pkgbase = ytt-bin pkgdesc = YAML templating tool that works on YAML structure instead of text pkgver = 0.46.2 - pkgrel = 1 + pkgrel = 3 url = https://carvel.dev/ytt arch = x86_64 arch = aarch64 @@ -5,7 +5,7 @@ # shellcheck disable=SC2034,SC2154 pkgname=ytt-bin pkgver=0.46.2 -pkgrel=1 +pkgrel=3 pkgdesc='YAML templating tool that works on YAML structure instead of text' url='https://carvel.dev/ytt' arch=(x86_64 aarch64) @@ -17,13 +17,16 @@ sha256sums_x86_64=(ae9bc66a55756eed60db86f8c0f8c55704b3ab846513ad4502111c2a8673e sha256sums_aarch64=(e43a524db8a0c69a54bc56132ac0cf8d55a049c48f63a9047dd6984dc89a940e) package () { - install -Dm 755 "${srcdir}/${_z_binname}-v${pkgver}" "${pkgdir}/usr/bin/${_z_binname}"; + set -eo pipefail; + BIN_SRC="${srcdir}/${_z_binname}-v${pkgver}"; + BIN_DST="${pkgdir}/usr/bin/${_z_binname}"; + install -Dm 755 "$BIN_SRC" "$BIN_DST"; mkdir -p "$pkgdir/usr/share/bash-completion/completions/"; mkdir -p "$pkgdir/usr/share/zsh/site-functions/"; mkdir -p "$pkgdir/usr/share/fish/vendor_completions.d/"; - ./$_z_binname completion bash | install -Dm644 /dev/stdin "$pkgdir/usr/share/bash-completion/completions/$_z_binname"; - ./$_z_binname completion fish | install -Dm644 /dev/stdin "$pkgdir/usr/share/fish/vendor_completions.d/$_z_binname.fish"; - ./$_z_binname completion zsh | install -Dm644 /dev/stdin "$pkgdir/usr/share/zsh/site-functions/_$_z_binname" + "$BIN_DST" completion bash | install -Dm644 /dev/stdin "$pkgdir/usr/share/bash-completion/completions/$_z_binname"; + "$BIN_DST" completion fish | install -Dm644 /dev/stdin "$pkgdir/usr/share/fish/vendor_completions.d/$_z_binname.fish"; + "$BIN_DST" completion zsh | install -Dm644 /dev/stdin "$pkgdir/usr/share/zsh/site-functions/_$_z_binname" } |