diff --git a/packages/starship/build.sh b/packages/starship/build.sh index cbeaa2de3..47c50bf16 100644 --- a/packages/starship/build.sh +++ b/packages/starship/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://starship.rs TERMUX_PKG_DESCRIPTION="A minimal, blazing fast, and extremely customizable prompt for any shell" TERMUX_PKG_LICENSE="ISC" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION=0.47.0 +TERMUX_PKG_VERSION=0.48.0 TERMUX_PKG_SRCURL=https://github.com/starship/starship/archive/v$TERMUX_PKG_VERSION.tar.gz -TERMUX_PKG_SHA256=9c9ede1eb7a9e1acf49f0321915232426c234b356c6bb1f740d15d6fa45d1bee +TERMUX_PKG_SHA256=23e729ace48ec0bf6d8eff5f99003351463841f3b28fe453faceb62e6f99bae6 TERMUX_PKG_DEPENDS="zlib" TERMUX_PKG_BUILD_IN_SRC=true TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--no-default-features" diff --git a/packages/starship/sys-info.patch b/packages/starship/sys-info.patch new file mode 100644 index 000000000..c07c4db15 --- /dev/null +++ b/packages/starship/sys-info.patch @@ -0,0 +1,13 @@ +diff -u -r ../starship-0.48.0/Cargo.toml ./Cargo.toml +--- ../starship-0.48.0/Cargo.toml 2021-01-06 15:03:16.000000000 +0800 ++++ ./Cargo.toml 2021-01-06 15:04:13.000000000 +0800 +@@ -70,6 +70,9 @@ + native-tls = { version = "0.2.7", optional = true } + shell-words = "1.0.0" + ++[patch.crates-io] ++sys-info = { git = 'https://github.com/FillZpp/sys-info-rs' } ++ + [target.'cfg(windows)'.dependencies] + winapi = { version = "0.3.9", features = [ + "winuser",