# Maintainer: KokaKiwi # Contributor: Felix Golatofski # Contributor: Bumsik Kim pkgname=nushell pkgver=0.28.0 pkgrel=1 pkgdesc="A new type of shell." url="https://www.nushell.sh" license=('MIT') depends=('openssl' 'libxcb' 'libgit2' 'zlib' 'libx11') makedepends=('rust' 'python') arch=('x86_64' 'i686') install=nushell.install source=("${pkgname}-${pkgver}.tar.gz::https://github.com/nushell/nushell/archive/${pkgver}.tar.gz") sha256sums=('aa6769f614a031ad33738064030d1c0d9ab500b2b0924adca71edacb1bd1d85d') b2sums=('77c066ce96d41aefe994d48a3ffda9f58ca600e650cf6389729d31e4937c228f4868033fb97777c4e9bdf3354280d513c01097c7e0a57b756695bd8522f11688') build() { cd "${pkgname}-${pkgver}" cargo build --release --locked --features extra --target-dir=target } package() { cd "${pkgname}-${pkgver}" install -Dm0755 -t "${pkgdir}/usr/bin" \ target/release/nu $(find target/release -maxdepth 1 -type f -executable -name 'nu_plugin_*') install -Dm0644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" }