diff options
-rw-r--r-- | i3status-rust/.footprint | 3 | ||||
-rw-r--r-- | i3status-rust/.signature | 5 | ||||
-rw-r--r-- | i3status-rust/Pkgfile | 19 |
3 files changed, 27 insertions, 0 deletions
diff --git a/i3status-rust/.footprint b/i3status-rust/.footprint new file mode 100644 index 000000000..2fb6d9a2d --- /dev/null +++ b/i3status-rust/.footprint @@ -0,0 +1,3 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/i3status-rs diff --git a/i3status-rust/.signature b/i3status-rust/.signature new file mode 100644 index 000000000..e9dc448e5 --- /dev/null +++ b/i3status-rust/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF37OmgGXvHwKDo9/qeMo015151ix6vXgWcrjOgMzo0zgSSOXVDhBXaQDpmxX22ZpW+2hKgswadsEzPAgzWdWQRAU= +SHA256 (Pkgfile) = 514df7a5438b43e28078d70461097937f2d3e8e41a94bcb40a7c6fa5c9f99513 +SHA256 (.footprint) = 46e38c743630719fc5db8383d793d119a83726afb7568114366b2b9c2d3ed80b +SHA256 (i3status-rust-0.10.0.tar.gz) = 84a12a91419fda35109a0be3980671c1d58e13c5987e6dc999cbe786d05053d9 diff --git a/i3status-rust/Pkgfile b/i3status-rust/Pkgfile new file mode 100644 index 000000000..d5e55a7c4 --- /dev/null +++ b/i3status-rust/Pkgfile @@ -0,0 +1,19 @@ +# 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.10.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 +} |