termux-packages/packages/starship/build.sh

19 lines
621 B
Bash
Raw Normal View History

2019-08-23 21:28:35 +02:00
TERMUX_PKG_HOMEPAGE=https://starship.rs
TERMUX_PKG_DESCRIPTION="A minimal, blazing fast, and extremely customizable prompt for any shell"
TERMUX_PKG_LICENSE="ISC"
2020-03-03 17:14:56 +01:00
TERMUX_PKG_VERSION=0.37.0
TERMUX_PKG_REVISION=1
2019-08-23 21:28:35 +02:00
TERMUX_PKG_SRCURL=https://github.com/starship/starship/archive/v$TERMUX_PKG_VERSION.tar.gz
2020-03-03 17:14:56 +01:00
TERMUX_PKG_SHA256=9a7344a1f61f195ddee9fef794e3214d47b38c5d18dfba8d66959dff3e06403b
2019-12-07 00:00:41 +01:00
TERMUX_PKG_DEPENDS="zlib"
2019-09-08 02:46:41 +02:00
TERMUX_PKG_BUILD_IN_SRC=true
2019-08-23 21:28:35 +02:00
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--no-default-features"
2019-09-15 22:19:06 +02:00
termux_step_pre_configure() {
2019-12-12 00:06:14 +01:00
CFLAGS+=" $CPPFLAGS"
2019-12-31 02:08:22 +01:00
if [ $TERMUX_ARCH = arm ]; then
CFLAGS+=" -fno-integrated-as"
fi
2019-09-15 22:19:06 +02:00
}
2019-12-12 00:06:14 +01:00