Received: from out2.migadu.com (out2.migadu.com [188.165.223.204]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 91FCF78321A for ; Sun, 10 Apr 2022 16:41:20 +0000 (UTC) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=salkield.uk; s=key1; t=1649608880; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=I3EdyFwvoQSsHU2p+m5AzEV80J6RPrVE8T89S+0wqK4=; b=PT8/AQFzhiu3haPrK74EoPkD4LKqE3yjGLB16frSxfK6fH98c8mQ0QvnWRJCTJn8OaKgOz O3UDPU67vHRvuKOUizJib/WqjVhiXvSZQwsl0KxoaclUNYEhY2ezpBVA3Yi6Z+x9nGOsMd 2aNxWiv/0YPfBjv1WsinY0bfE/RjlT8= From: Edd Salkield To: alpine-aports@lists.alpinelinux.org Cc: Edd Salkield Subject: [PATCH v2] testing/swayhide: new aport Date: Sun, 10 Apr 2022 17:40:44 +0100 Message-Id: <20220410164043.8539-1-edd@salkield.uk> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: salkield.uk --- testing/swayhide/APKBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 testing/swayhide/APKBUILD diff --git a/testing/swayhide/APKBUILD b/testing/swayhide/APKBUILD new file mode 100644 index 0000000000..19807a2cc4 --- /dev/null +++ b/testing/swayhide/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: Edd Salkield +# Maintainer: Edd Salkield +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="$pkgname-$pkgver.tar.gz::https://github.com/NomisIV/swayhide/archive/refs/tags/v$pkgver.tar.gz" + +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-0.2.0.tar.gz +" -- 2.35.1