49cafa18ca
error: attributes are not yet allowed on `if` expressions --> /home/builder/.cargo/registry/src/github.com-1ecc6299db9ec823/sysinfo-0.14.5/src/utils.rs:27:5 | 27 | #[allow(clippy::identity_conversion)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: aborting due to previous error
18 lines
599 B
Bash
18 lines
599 B
Bash
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_VERSION=0.41.0
|
|
TERMUX_PKG_SRCURL=https://github.com/starship/starship/archive/v$TERMUX_PKG_VERSION.tar.gz
|
|
TERMUX_PKG_SHA256=420a09f77a6355bb0f272cd45be57d89265357b4e98b88e212aba7720d270fe7
|
|
TERMUX_PKG_DEPENDS="zlib"
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--no-default-features"
|
|
|
|
termux_step_pre_configure() {
|
|
CFLAGS+=" $CPPFLAGS"
|
|
if [ $TERMUX_ARCH = arm ]; then
|
|
CFLAGS+=" -fno-integrated-as"
|
|
fi
|
|
}
|
|
|