termux-packages/packages/nushell/build.sh

18 lines
612 B
Bash
Raw Normal View History

2020-04-28 09:01:16 +02:00
TERMUX_PKG_HOMEPAGE=https://www.nushell.sh
TERMUX_PKG_DESCRIPTION="A new type of shell operating on structured data"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=0.35.0
2020-04-28 09:01:16 +02:00
TERMUX_PKG_SRCURL=https://github.com/nushell/nushell/archive/$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=2e93366a2f089bdbe0ae52eafcda5390119642c66e541b26e8eeb1ab4bc13823
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_DEPENDS="openssl, zlib"
2020-04-28 09:01:16 +02:00
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_BLACKLISTED_ARCHES="x86_64"
2021-07-15 13:59:54 +02:00
termux_step_pre_configure() {
if [ $TERMUX_ARCH = "i686" ]; then
2021-07-15 20:07:31 +02:00
RUSTFLAGS+=" -C link-arg=-latomic"
2021-07-15 13:59:54 +02:00
fi
}