Received: from out1.migadu.com (out1.migadu.com [91.121.223.63]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 0A89D78305B for ; Sun, 10 Apr 2022 16:32:58 +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=1649608377; 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=4jyZXuWUglFhz1ZMkq0oY+JsYTrJMW78mytN7jwRAS4=; b=mobibuODxY/qq5qr5v13h8LgtcmpewUBeh8o/XPGg60O3wxzY2gYZEC4+nih1p4qN4GhkB VvQC0VVjUESaAbGdHLD4UPZHIMaED77FnbYZTnUqO+ziKte3DGRktRUiu5c5orcKllCBYn YwPwNZabbMQvuN5Sb+LECxS3WccRZ0E= From: Edd Salkield To: alpine-aports@lists.alpinelinux.org Cc: Edd Salkield Subject: [PATCH] testing/swayhide: new aport Date: Sun, 10 Apr 2022 17:32:42 +0100 Message-Id: <20220410163241.4176-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 | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 testing/swayhide/APKBUILD diff --git a/testing/swayhide/APKBUILD b/testing/swayhide/APKBUILD new file mode 100644 index 0000000000..88d676d873 --- /dev/null +++ b/testing/swayhide/APKBUILD @@ -0,0 +1,34 @@ +# 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" +license="GPL-3.0-only" +depends="sway" +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