void-packages/srcpkgs/i3status-rust/template
2022-02-01 15:12:41 +01:00

24 lines
852 B
Bash

# Template file for 'i3status-rust'
pkgname=i3status-rust
version=0.21.3
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=6e485252b9c676ec6d730f8f3bfe1622381a0fdbd47a8d074c7961c15e7a34b8
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
}