# Contributor: Leo # Maintainer: omni pkgname=ion-shell pkgver=1.0.5_git20220727 pkgrel=1 _commit=fc153ac4e83d879ab70208c5452faae2e7d69b6b pkgdesc="modern system shell with simple, yet powerful, syntax" url="https://doc.redox-os.org/ion-manual/" arch="all !s390x !riscv64" # s390x blocked by nix crate license="MIT" makedepends="cargo cargo-auditable" install="$pkgname.post-install $pkgname.post-upgrade $pkgname.pre-deinstall" source="$pkgname-$_commit.tar.gz::https://gitlab.redox-os.org/redox-os/ion/-/archive/$_commit.tar.gz" builddir="$srcdir/ion-$_commit" prepare() { default_prepare cargo fetch --target="$CTARGET" --locked } build() { cargo auditable build --release --frozen } check() { cargo test --release --frozen } package() { install -Dm0755 target/release/ion -t "$pkgdir"/usr/bin } sha512sums=" d997e9666f032bbbed5adc448ad524f5367bd1825047a14204cb31a6e6535f13e452dc2806c79f8c70de60ca2af8555a3c96a25ebf705eaf37ae0005ccf7d838 ion-shell-fc153ac4e83d879ab70208c5452faae2e7d69b6b.tar.gz "