20 lines
633 B
Plaintext
20 lines
633 B
Plaintext
# Description: i3status replacement written in rust
|
|
# URL: https://github.com/greshake/i3status-rust
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: dbus flac libogg libsndfile libvorbis pulseaudio rust
|
|
|
|
name=i3status-rust
|
|
version=0.11.0
|
|
release=1
|
|
source=(https://github.com/greshake/i3status-rust/archive/v$version/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
prt-get isinst sccache && export RUSTC_WRAPPER=/usr/bin/sccache
|
|
mkdir "$PKGMK_SOURCE_DIR/rust" || true
|
|
export CARGO_HOME="$PKGMK_SOURCE_DIR/rust"
|
|
cargo fetch
|
|
cargo build --release
|
|
install -Dt $PKG/usr/bin target/release/i3status-rs
|
|
}
|