diff options
| author | rawnix ports <ports@rawnix.org> | 2026-09-26 18:19:05 +0000 |
|---|---|---|
| committer | rawnix ports <ports@rawnix.org> | 2026-09-26 18:19:05 +0000 |
| commit | c82e88dd00d1b0b7fcfb4e5628d99611388cef6f (patch) | |
| tree | 56d864b5a5c6c145edd96178ae219a8f90e191a6 /opt/autotiling-rs/MAKEPKG | |
| download | ports-c82e88dd00d1b0b7fcfb4e5628d99611388cef6f.tar.gz | |
sync 2026-09-26 18:19 UTC
1672 files changed, 151396 insertions(+)
Diffstat (limited to 'opt/autotiling-rs/MAKEPKG')
| -rw-r--r-- | opt/autotiling-rs/MAKEPKG | 44 |
1 files changed, 44 insertions, 0 deletions
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 + |
