# Maintainer: Parham Alvani pkgname=mprocs pkgver=0.2.2 pkgrel=1 pkgdesc="Run multiple commands in parallel" arch=(x86_64) url="https://github.com/pvolok/mprocs" license=(MIT) conflicts=('mprocs-bin') provides=('mprocs') source=("https://github.com/pvolok/mprocs/archive/refs/tags/v$pkgver.tar.gz") sha256sums=('61ede3286f717352c3a4cf4ebc6dca4f0a560658258d21a1dfdaec1302343558') makedepends=(rust) build() { cd mprocs-$pkgver RUSTFLAGS="--remap-path-prefix=$(pwd)=/build/" cargo build --release --locked } package() { install -Dm755 "$srcdir/greetd-$pkgver/target/release/mprocs" \ "$pkgdir/usr/bin/mprocs" }