From fb7f822a86ddd487bf223db3858d64e55e935476 Mon Sep 17 00:00:00 2001 From: Marcin Puc Date: Thu, 16 Jun 2022 16:57:31 +0200 Subject: [PATCH] starship: update to 1.8.0 --- srcpkgs/starship/template | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/srcpkgs/starship/template b/srcpkgs/starship/template index 7ce7c8720138..692dc869adb7 100644 --- a/srcpkgs/starship/template +++ b/srcpkgs/starship/template @@ -1,6 +1,6 @@ # Template file for 'starship' pkgname=starship -version=1.7.1 +version=1.8.0 revision=1 build_style=cargo build_helper=qemu @@ -13,13 +13,13 @@ maintainer="cinerea0 " license="ISC" homepage="https://starship.rs" distfiles="https://github.com/starship/starship/archive/refs/tags/v${version}.tar.gz" -checksum=364b8222e097a8c671a9d03788ffc745982f4e62ee59e75687eb75310fae64e0 +checksum=398bf5b413ce5dfe4d3c5acceb0025f773478f28016609869821cf385448dcf5 post_build() { STARSHIP="target/${RUST_TARGET}/release/starship" - vtargetrun ${STARSHIP} completions zsh >starship.zsh - vtargetrun ${STARSHIP} completions bash >starship.bash - vtargetrun ${STARSHIP} completions fish >starship.fish + for shell in bash fish zsh; do + vtargetrun ${STARSHIP} completions ${shell} > starship.${shell} + done } do_check() { @@ -28,9 +28,9 @@ do_check() { } post_install() { - vcompletion starship.bash bash - vcompletion starship.fish fish - vcompletion starship.zsh zsh + for shell in bash fish zsh; do + vcompletion starship.${shell} ${shell} + done vlicense LICENSE }