nibon7 3331788462 testing/nushell: upgrade to 0.32.0
Signed-off-by: nibon7 <nibon7@163.com>
2021-06-02 12:49:14 +00:00

29 lines
887 B
Plaintext

# Contributor: nibon7 <nibon7@163.com>
# Maintainer: nibon7 <nibon7@163.com>
pkgname=nushell
pkgver=0.32.0
pkgrel=0
pkgdesc="A new type of shell"
url="https://www.nushell.sh"
# s390x, mips, mips64: limited by cargo
arch="all !s390x !mips !mips64"
license="MIT"
makedepends="cargo pkgconf openssl-dev libx11-dev libxcb-dev libgit2-dev python3"
source="$pkgname-$pkgver.tar.gz::https://github.com/nushell/nushell/archive/$pkgver.tar.gz"
build() {
cargo build --release --locked --features 'extra'
}
check() {
# Some tests may timeout on armhf with release build
cargo test --locked --features 'extra'
}
package() {
cargo install --locked --features 'extra' --path . --root="$pkgdir/usr"
rm "$pkgdir"/usr/.crates*
}
sha512sums="11535af6bdf5217f6b88a226f7990fe44e4fcea133ce213e31ebacc0bee2319f82f73bd8e443c83378162ed2fea18d4ea9efe9f3e7a6d93b007ea0970bd81b21 nushell-0.32.0.tar.gz"