mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-21 08:37:02 +02:00
starship: update to 1.13.1
This commit is contained in:
parent
75c1a8bd4d
commit
fc8d1151fd
1 changed files with 7 additions and 12 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue