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.33.1
|
|
TERMUX_PKG_SRCURL=https://github.com/starship/starship/archive/v$TERMUX_PKG_VERSION.tar.gz
|
|
TERMUX_PKG_SHA256=90e1f2e795cd0e694d7a514faeee19f881c35ec46811298adde692d606837d5d
|
|
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
|
|
}
|
|
|