# Contributor: Michał Polański # Maintainer: Michał Polański pkgname=eva pkgver=0.3.1 pkgrel=2 pkgdesc="Calculator REPL, similar to bc(1)" url="https://github.com/nerdypepper/eva" license="MIT" arch="all !s390x !riscv64" # limited by rust/cargo makedepends="cargo cargo-auditable" source="https://github.com/nerdypepper/eva/archive/v$pkgver/eva-$pkgver.tar.gz deps.patch " prepare() { default_prepare cargo fetch --target="$CTARGET" --locked } build() { cargo auditable build --frozen --release } check() { cargo test --frozen } package() { install -Dm755 target/release/eva -t "$pkgdir"/usr/bin/ } sha512sums=" 2bc6a14668f321e9dd17aab5d8e93abdc0bb4a6739365a68c33beb9f562e03e7924df0b75ad8ca8236b7c3fefc2b477b7ae8b6fe4da0ab45f40b63be4cb1e3d7 eva-0.3.1.tar.gz 3ca527afe153d8189254dd4bcb54763e6f79a0893c97668152d407a903740898e71d26883143e13efa06233a8fc714f0776e1c139b8839bee779fdb1ea45f2e7 deps.patch "