void-packages/srcpkgs/i3status-rust/template
2021-12-01 21:25:54 -03:00

23 lines
835 B
Bash

# Template file for 'i3status-rust'
pkgname=i3status-rust
version=0.20.7
revision=1
build_style=cargo
make_check_args="--bins"
hostmakedepends="pkg-config"
makedepends="dbus-devel pulseaudio-devel openssl-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=995efe21ecf03e532cff9140cab1d4de9a35f91204d9e9edf0bfe3a22fedf5a0
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
}