diff options
Diffstat (limited to 'opt/autotiling-rs')
| -rw-r--r-- | opt/autotiling-rs/.footprint | 3 | ||||
| -rw-r--r-- | opt/autotiling-rs/.signature | 6 | ||||
| -rw-r--r-- | opt/autotiling-rs/MAKEPKG | 44 |
3 files changed, 53 insertions, 0 deletions
diff --git a/opt/autotiling-rs/.footprint b/opt/autotiling-rs/.footprint new file mode 100644 index 0000000..afe82dc --- /dev/null +++ b/opt/autotiling-rs/.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/autotiling-rs diff --git a/opt/autotiling-rs/.signature b/opt/autotiling-rs/.signature new file mode 100644 index 0000000..e9117a6 --- /dev/null +++ b/opt/autotiling-rs/.signature @@ -0,0 +1,6 @@ +RWTZ9IduCSQ/mGSnvvdEuXRL7K7h7YUvha4CqboctV3bose+c9t/6sGhe3cnkw+B8SKkA0UI2wZpGppIlJxm3ta1DlrrSxIVHQs= + +SHA256 (MAKEPKG) = 7ab67a6748f3444817f22fa7a04c463be394b884566c883c144d816b18783cb6 +SHA256 (.footprint) = 1b9b973463a6084a23888a37f8505b212efa877061d4beb15bc2c96c20eefc27 +SHA256 (autotiling-rs-0.1.8.tar.gz) = 8e76d1570318dd9de6d6ffb4a85d53b49060ad3f0c396922ed6a86738e5d892b +SHA256 (autotiling-rs#0.1.8-1.pkg.tar.gz) = 3575906531bc0bcae89d47169d02182fa353427e848269db1546b4377d648bff 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 + |
