From 47395c0e5549957f1241a01123ed289ef8856637 Mon Sep 17 00:00:00 2001 From: Tim Biermann Date: Wed, 4 Oct 2023 10:40:44 +0200 Subject: [PATCH] shikane: initial commit, version 0.2.0 --- shikane/.footprint | 3 +++ shikane/.signature | 5 +++++ shikane/Pkgfile | 18 ++++++++++++++++++ 3 files changed, 26 insertions(+) create mode 100644 shikane/.footprint create mode 100644 shikane/.signature create mode 100644 shikane/Pkgfile diff --git a/shikane/.footprint b/shikane/.footprint new file mode 100644 index 000000000..e265276aa --- /dev/null +++ b/shikane/.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/shikane diff --git a/shikane/.signature b/shikane/.signature new file mode 100644 index 000000000..b09b46478 --- /dev/null +++ b/shikane/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF30JvGSGRFLl4F1ubiu0wqgD/+mWhnscliGITvS517B4YZx5gd3dzSkBm/B3TIz26P/I8kQSgAiNS1jVApBhkAAQ= +SHA256 (Pkgfile) = 241e5ec0dd89c3de78688e64e4533e9e9f019783094c142b37aefcbebab81196 +SHA256 (.footprint) = ad112ceef7a48ca0942f747d1a3a4c847e15dd7212404cbacfc7ad7d13183fb2 +SHA256 (shikane-v0.2.0.tar.bz2) = c8c3f6a70f40970acd51da519e9bda85434bb930ceb850cfd68bfa37d8be7bef diff --git a/shikane/Pkgfile b/shikane/Pkgfile new file mode 100644 index 000000000..6e8316c53 --- /dev/null +++ b/shikane/Pkgfile @@ -0,0 +1,18 @@ +# Description: dynamic output configuration tool that automatically detects and configures connected outputs +# URL: https://gitlab.com/w0lff/shikane +# Maintainer: Tim Biermann, tbier at posteo dot de +# Depends on: rust wlroots + +name=shikane +version=0.2.0 +release=1 +source=(https://gitlab.com/w0lff/shikane/-/archive/v$version/shikane-v$version.tar.bz2) + +build() { + prt-get isinst sccache && export RUSTC_WRAPPER=/usr/bin/sccache + [[ ! -e $PKGMK_SOURCE_DIR/rust ]] && mkdir $PKGMK_SOURCE_DIR/rust + + cargo build --release --manifest-path $name-v$version/Cargo.toml + + install -Dt $PKG/usr/bin $name-v$version/target/release/$name +}