termux-packages/packages/starship/build.sh

19 lines
694 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"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=0.56.0
2019-08-23 21:28:35 +02:00
TERMUX_PKG_SRCURL=https://github.com/starship/starship/archive/v$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=ab038a2cc1ea0b6c6ebbf064f531f22448ee1ed8d04b5f25b327ead1ad22cca5
TERMUX_PKG_DEPENDS="zlib, openssl"
2019-09-08 02:46:41 +02:00
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--no-default-features --features http"
2021-05-05 19:02:19 +02:00
TERMUX_PKG_BLACKLISTED_ARCHES="x86_64"
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
}