mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +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'
|
# Template file for 'starship'
|
||||||
pkgname=starship
|
pkgname=starship
|
||||||
version=1.12.0
|
version=1.13.1
|
||||||
revision=1
|
revision=1
|
||||||
build_style=cargo
|
build_style=cargo
|
||||||
build_helper=qemu
|
build_helper=qemu
|
||||||
|
@ -13,14 +13,8 @@ license="ISC"
|
||||||
homepage="https://starship.rs"
|
homepage="https://starship.rs"
|
||||||
changelog="https://raw.githubusercontent.com/starship/starship/master/CHANGELOG.md"
|
changelog="https://raw.githubusercontent.com/starship/starship/master/CHANGELOG.md"
|
||||||
distfiles="https://github.com/starship/starship/archive/refs/tags/v${version}.tar.gz"
|
distfiles="https://github.com/starship/starship/archive/refs/tags/v${version}.tar.gz"
|
||||||
checksum=748a0541009b0bee5f51b716d072f244d8d5cb3fb8d768519ed305494ea11e02
|
checksum=6cce984c7fb0067b9dc457274139f277e2ff56488811c96a7ae68102184656f9
|
||||||
|
make_check=no # tests fail on i686 due to bug in gitoxide
|
||||||
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
|
|
||||||
}
|
|
||||||
|
|
||||||
do_check() {
|
do_check() {
|
||||||
mkdir -p fake-home
|
mkdir -p fake-home
|
||||||
|
@ -28,9 +22,10 @@ do_check() {
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vcompletion starship.bash bash
|
for shell in bash fish zsh; do
|
||||||
vcompletion starship.fish fish
|
vtargetrun ${DESTDIR}/usr/bin/starship completions ${shell} > starship.${shell}
|
||||||
vcompletion starship.zsh zsh
|
vcompletion starship.${shell} ${shell}
|
||||||
|
done
|
||||||
|
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue