2021-04-23 16:14:51 +00:00

29 lines
873 B
Plaintext

# Contributor: nibon7 <nibon7@163.com>
# Maintainer: nibon7 <nibon7@163.com>
pkgname=nushell
pkgver=0.30.0
pkgrel=1
pkgdesc="A new type of shell"
url="https://www.nushell.sh"
# s390x, mips, mips64: limited by cargo
# armhf: test failures
arch="all !s390x !mips !mips64 !armhf"
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() {
cargo test --release --locked --features 'extra'
}
package() {
cargo install --locked --features 'extra' --path . --root="$pkgdir/usr"
rm "$pkgdir"/usr/.crates*
}
sha512sums="8424279a85c9d7897014d4c7abfe5eb94d75e5b07082475ca9fb9ff6c1c2905af18f3d46533d25be902060c6ef1113ecade79358663ec2b8117332bc70a83c0f nushell-0.30.0.tar.gz"