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"
|
2020-12-20 14:16:34 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2021-07-14 02:28:51 +02:00
|
|
|
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
|
2021-07-14 02:28:51 +02:00
|
|
|
TERMUX_PKG_SHA256=9571c7fbf0f0fdabb055727b63b6a5c3561f04357336289106591fc6afcff7a3
|
2020-09-04 15:50:17 +02:00
|
|
|
TERMUX_PKG_DEPENDS="openssl, zlib"
|
2020-04-28 09:01:16 +02:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
2020-09-04 15:50:17 +02:00
|
|
|
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
|
|
|
|
}
|