From c82e88dd00d1b0b7fcfb4e5628d99611388cef6f Mon Sep 17 00:00:00 2001 From: rawnix ports Date: Sat, 26 Sep 2026 18:19:05 +0000 Subject: sync 2026-09-26 18:19 UTC 1672 files changed, 151396 insertions(+) --- opt/autotiling-rs/MAKEPKG | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 opt/autotiling-rs/MAKEPKG (limited to 'opt/autotiling-rs/MAKEPKG') diff --git a/opt/autotiling-rs/MAKEPKG b/opt/autotiling-rs/MAKEPKG new file mode 100644 index 0000000..8e08938 --- /dev/null +++ b/opt/autotiling-rs/MAKEPKG @@ -0,0 +1,44 @@ +#!/bin/mkpkg +# description: Alternates container layout (split h/v) for Sway/i3 +# url: https://github.com/ammgws/autotiling-rs + +name=autotiling-rs +version=0.1.8 +release=1 +makedeps=(rust cargo-audit) +source=(https://github.com/ammgws/$name/archive/refs/tags/v$version.tar.gz) +renames=($name-$version.tar.gz) +sha256sums=( + "8e76d1570318dd9de6d6ffb4a85d53b49060ad3f0c396922ed6a86738e5d892b" +) + +patch() { + export CARGO_HOME="$SRC/.cargo" + cd $name-$version + cargo vendor ../vendor + mkdir -p .cargo + printf '%s\n' \ + '[source.crates-io]' \ + 'replace-with = "vendored-sources"' \ + '' \ + '[source.vendored-sources]' \ + 'directory = "../vendor"' \ + > .cargo/config.toml + cargo audit +} + +build() { + export CARGO_HTTP_CAINFO=/etc/ssl/cert.pem + export RUSTFLAGS="-C target-feature=-crt-static" + cd $name-$version + cargo build --release --offline + install -Dm755 target/release/$name $PKG/usr/bin/$name +} + +signify() { + untrusted comment: public key + RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3 +} + +# vim: filetype=sh + -- cgit v1.3.1