From 28721a7b57986b07ac09ecc16b87a6af985a9a66 Mon Sep 17 00:00:00 2001 From: cinerea0 Date: Thu, 6 Apr 2023 21:37:20 -0400 Subject: [PATCH] starship: update to 1.13.1 --- srcpkgs/starship/template | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/srcpkgs/starship/template b/srcpkgs/starship/template index 6e8e90c3bfe8..2bfb37ec89b4 100644 --- a/srcpkgs/starship/template +++ b/srcpkgs/starship/template @@ -1,6 +1,6 @@ # Template file for 'starship' pkgname=starship -version=1.12.0 +version=1.13.1 revision=1 build_style=cargo build_helper=qemu @@ -13,14 +13,8 @@ license="ISC" homepage="https://starship.rs" changelog="https://raw.githubusercontent.com/starship/starship/master/CHANGELOG.md" distfiles="https://github.com/starship/starship/archive/refs/tags/v${version}.tar.gz" -checksum=748a0541009b0bee5f51b716d072f244d8d5cb3fb8d768519ed305494ea11e02 - -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 -} +checksum=6cce984c7fb0067b9dc457274139f277e2ff56488811c96a7ae68102184656f9 +make_check=no # tests fail on i686 due to bug in gitoxide do_check() { mkdir -p fake-home @@ -28,9 +22,10 @@ do_check() { } post_install() { - vcompletion starship.bash bash - vcompletion starship.fish fish - vcompletion starship.zsh zsh + for shell in bash fish zsh; do + vtargetrun ${DESTDIR}/usr/bin/starship completions ${shell} > starship.${shell} + vcompletion starship.${shell} ${shell} + done vlicense LICENSE }