~alpine/aports

testing/swayhide: new aport v3 APPLIED

Edd Salkield: 1
 testing/swayhide: new aport

 1 files changed, 38 insertions(+), 0 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/aports/patches/4023/mbox | git am -3
Learn more about email & git

[PATCH v3] testing/swayhide: new aport Export this patch

---
 testing/swayhide/APKBUILD | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)
 create mode 100644 testing/swayhide/APKBUILD

diff --git a/testing/swayhide/APKBUILD b/testing/swayhide/APKBUILD
new file mode 100644
index 0000000000..1f84db8324
--- /dev/null
+++ b/testing/swayhide/APKBUILD
@@ -0,0 +1,38 @@
# Contributor: Edd Salkield <edd@salkield.uk>
# Maintainer: Edd Salkield <edd@salkield.uk>
pkgname=swayhide
pkgver=0.2.0
pkgrel=0
pkgdesc="A window swallower for swaywm"
url="https://github.com/NomisIV/swayhide/"
arch="all !s390x !riscv64" # rust
license="GPL-3.0-only"
makedepends="cargo"
source="https://github.com/NomisIV/swayhide/archive/v$pkgver/swayhide-v$pkgver.tar.gz"

export CARGO_PROFILE_RELEASE_LTO="true"
export CARGO_PROFILE_RELEASE_PANIC="abort"
export CARGO_PROFILE_RELEASE_OPT_LEVEL="s"
export CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1

prepare() {
	default_prepare
	cargo fetch --locked
}

build() {
	cargo build --release --frozen
}

check() {
	cargo test --frozen
}

package() {
	cargo install --locked --offline --path . --root="$pkgdir/usr"
	rm "$pkgdir"/usr/.crates*
}

sha512sums="
6562a762282724ece5e764d361a4e5ddbfcc15f4ac2726db98d7ed57686e70911cafca3c2eab0cb7069922adf9689d53d2caae5a110e3f5ac7308b49271e01d1  swayhide-v0.2.0.tar.gz
"
-- 
2.35.1