void-packages/srcpkgs/i3status-rust/template

24 lines
852 B
Bash

# Template file for 'i3status-rust'
pkgname=i3status-rust
version=0.21.6
revision=1
build_style=cargo
make_check_args="--bins"
hostmakedepends="pkg-config"
makedepends="dbus-devel pulseaudio-devel openssl-devel libsensors-devel"
short_desc="Replacement for i3status, written in Rust"
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
license="GPL-3.0-only"
homepage="https://github.com/greshake/i3status-rust"
changelog="https://raw.githubusercontent.com/greshake/i3status-rust/master/NEWS.md"
distfiles="https://github.com/greshake/i3status-rust/archive/v${version}.tar.gz"
checksum=011d6c326229b5c84ed86324814d2d12938af42672e095a9c1151db1d1a36b0e
post_install() {
vmkdir usr/share/i3status-rust
vcopy ${wrksrc}/files/icons usr/share/i3status-rust/
vcopy ${wrksrc}/files/themes usr/share/i3status-rust/
vman man/i3status-rs.1
}