From d956195b7c65fc616636cc1c756c278dd22084de Mon Sep 17 00:00:00 2001 From: FollieHiyuki Date: Sat, 30 Jan 2021 03:14:46 +0300 Subject: [PATCH] starship: update to 0.50.0 --- srcpkgs/starship/template | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/srcpkgs/starship/template b/srcpkgs/starship/template index 0eae193aece..d12f41863e4 100644 --- a/srcpkgs/starship/template +++ b/srcpkgs/starship/template @@ -1,6 +1,6 @@ # Template file for 'starship' pkgname=starship -version=0.48.0 +version=0.50.0 revision=1 build_style=cargo build_helper=qemu @@ -12,7 +12,7 @@ maintainer="Aluísio Augusto Silva Gonçalves " license="ISC" homepage="https://starship.rs" distfiles="https://github.com/starship/starship/archive/v${version}.tar.gz" -checksum=23e729ace48ec0bf6d8eff5f99003351463841f3b28fe453faceb62e6f99bae6 +checksum=d8f4dc9bd266f2a5c34926d361c62fdddb61cd7da4acadba5f9c175eb07602e5 post_build() { STARSHIP="target/${RUST_TARGET}/release/starship" @@ -23,10 +23,7 @@ post_build() { do_check() { mkdir -p fake-home - local OLDHOME=$HOME - export HOME=$(pwd)/fake-home - cargo test -q --release --target ${RUST_TARGET} - export HOME=$OLDHOME + HOME="${wrksrc}/fake-home" cargo test --release --target ${RUST_TARGET} } post_install() {