termux-packages/packages/nushell/build.sh

17 lines
584 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.34.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=9571c7fbf0f0fdabb055727b63b6a5c3561f04357336289106591fc6afcff7a3
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
}