starship: Update to 1.5.4
This commit is contained in:
parent
238ba05b5b
commit
5c949b1cab
@ -2,16 +2,28 @@ 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=1.4.2
|
||||
TERMUX_PKG_VERSION=1.5.4
|
||||
TERMUX_PKG_SRCURL=https://github.com/starship/starship/archive/v$TERMUX_PKG_VERSION.tar.gz
|
||||
TERMUX_PKG_SHA256=d7d1a4fb661c1612617306f4a99bacccdffca4210a51cb1b91e87fb005bbd32e
|
||||
TERMUX_PKG_SHA256=158003cd192f9375e504b9ab84d9239a06a8f9732cdd201243ab2fdcd38043f8
|
||||
TERMUX_PKG_AUTO_UPDATE=true
|
||||
TERMUX_PKG_DEPENDS="zlib, openssl"
|
||||
TERMUX_PKG_DEPENDS="openssl, zlib"
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--no-default-features --features http"
|
||||
|
||||
termux_step_pre_configure() {
|
||||
termux_setup_rust
|
||||
: "${CARGO_HOME:=$HOME/.cargo}"
|
||||
export CARGO_HOME
|
||||
|
||||
cargo fetch --target $CARGO_TARGET_NAME
|
||||
|
||||
local d
|
||||
for d in $CARGO_HOME/registry/src/github.com-*/libgit2-sys-*/libgit2; do
|
||||
patch --silent -p1 -d ${d} \
|
||||
< $TERMUX_SCRIPTDIR/packages/libgit2/src-rand.c.patch || :
|
||||
cp $TERMUX_SCRIPTDIR/packages/libgit2/getloadavg.c ${d}/src/ || :
|
||||
done
|
||||
|
||||
CFLAGS+=" $CPPFLAGS"
|
||||
if [ $TERMUX_ARCH = arm ]; then
|
||||
CFLAGS+=" -fno-integrated-as"
|
||||
|
Loading…
Reference in New Issue
Block a user