# Contributor: Galen Abell # Maintainer: Galen Abell pkgname=i3status-rust pkgver=0.13.1 pkgrel=0 pkgdesc="i3status replacement in Rust" url="https://github.com/greshake/i3status-rust" arch="all !s390x" license="GPL-3.0-only" makedepends="rust cargo dbus-dev libpulse" options="net !check" # no tests provides="i3status-rs" source="$pkgname-$pkgver.tar.gz::https://github.com/greshake/i3status-rust/archive/v$pkgver.tar.gz" build() { cargo build --release --verbose --locked } package() { install -Dm755 target/release/i3status-rs "$pkgdir"/usr/bin/i3status-rs } sha512sums="85c009d9164caac3b209c6afd0d7ad874cf8cea57a6c66c21a9484b186297f02c55cb8fb913db86cd0ccb55cabf14014900043927f9dea768ac7dc5b29a9f787 i3status-rust-0.13.1.tar.gz"