starship: update to 1.18.0

This commit is contained in:
cinerea0 2024-03-21 13:46:26 -04:00 committed by cinerea0
parent 04033dda77
commit 47e6e35639
1 changed files with 5 additions and 4 deletions

View File

@ -1,9 +1,10 @@
# Template file for 'starship'
pkgname=starship
version=1.17.1
version=1.18.0
revision=1
build_style=cargo
build_helper=qemu
make_check_args="-- --skip modules::username::tests::show_always_false" # test fails in CI
hostmakedepends="cmake pkg-config"
depends="git"
checkdepends="git fish-shell"
@ -13,11 +14,11 @@ 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=2b2fc84feb0197104982e8baf17952449375917da66b7a98b3e3fd0be63e5dba
checksum=e387ead17edeccb603b15dc2bd9b61c6541e795e0f4a9d9015015743228c2368
make_check_pre="env HOME=${wrksrc}/fake-home"
do_check() {
pre_check() {
mkdir -p fake-home
HOME="${wrksrc}/fake-home" cargo test --release --target ${RUST_TARGET}
}
post_install() {