24 lines
862 B
Bash
24 lines
862 B
Bash
# Template file for 'i3status-rust'
|
|
pkgname=i3status-rust
|
|
version=0.22.0
|
|
revision=2
|
|
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/refs/tags/v${version}.tar.gz"
|
|
checksum=cd28a90ccb2f9faaaef1e528619f1018981609d77f409abe4877350d810d3324
|
|
|
|
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
|
|
}
|