29 lines
1.0 KiB
Bash
29 lines
1.0 KiB
Bash
# Template file for 'i3status-rust'
|
|
pkgname=i3status-rust
|
|
version=0.33.0
|
|
revision=1
|
|
build_style=cargo
|
|
build_helper="qemu"
|
|
make_check_args="--bins"
|
|
hostmakedepends="pkg-config pandoc"
|
|
makedepends="dbus-devel pulseaudio-devel openssl-devel libsensors-devel"
|
|
short_desc="Replacement for i3status, written in Rust"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
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=fd722f630080ef0b25558bec9b342a9fe8842c3af049d55a1370c6760ad84c67
|
|
|
|
post_build() {
|
|
cargo auditable build --release --target "${RUST_TARGET}" --package xtask
|
|
CARGO_MANIFEST_DIR=./xtask vtargetrun target/"${RUST_TARGET}"/release/xtask generate-manpage
|
|
}
|
|
|
|
post_install() {
|
|
vmkdir usr/share/i3status-rust
|
|
vcopy files/icons usr/share/i3status-rust/
|
|
vcopy files/themes usr/share/i3status-rust/
|
|
vman man/i3status-rs.1
|
|
}
|