Received: from out0.migadu.com (out0.migadu.com [94.23.1.103]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 1578578305F for ; Sat, 9 Apr 2022 18:29:34 +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=1649528610; 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=OilX720itR45rn7GLuc9mtBXSi07ar93Sf88sew9Xww=; b=VnepFE3RpZIDJKwyI2I+KCDPUne5h2LESnvRGrvMyjfoKZcODFkibH7y0BZjk/LXgfHj54 Lf16qNwgDk4VYg5R/li7IbAlEz76gQDIyB+buTR91dq5z9aptNQS87/POPFPGnC38l7KcN I4jN8VvKgw63WJIL6KdJ4hEcUZ/BSJ0= From: Edd Salkield To: alpine-aports@lists.alpinelinux.org Cc: Edd Salkield Subject: [PATCH v3] testing/nwg-bar: new aport Date: Sat, 9 Apr 2022 19:23:02 +0100 Message-Id: <20220409182301.15701-1-edd@salkield.uk> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: salkield.uk https://github.com/nwg-piotr/nwg-bar GTK3-based button bar for sway and other wlroots-based compositors --- testing/nwg-bar/APKBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 testing/nwg-bar/APKBUILD diff --git a/testing/nwg-bar/APKBUILD b/testing/nwg-bar/APKBUILD new file mode 100644 index 0000000000..86a90833b6 --- /dev/null +++ b/testing/nwg-bar/APKBUILD @@ -0,0 +1,27 @@ +# Contributor: Edd Salkield +# Maintainer: Edd Salkield +pkgname=nwg-bar +pkgver=0.0.1 +pkgrel=0 +pkgdesc="GTK3-based button bar for sway and other wlroots-based compositors" +url="https://github.com/nwg-piotr/nwg-bar/" +arch="all" +license="MIT" +makedepends="go glib-dev cairo-dev gtk+3.0-dev gtk-layer-shell-dev" +source="$pkgname-$pkgver.tar.gz::https://github.com/nwg-piotr/nwg-bar/archive/refs/tags/v$pkgver.tar.gz" +options="!check net" # no upstream tests + +build() { + rm ./bin/nwg-bar + go build -o bin/nwg-bar . +} + +package() { + install -m755 -D ./bin/nwg-bar "$pkgdir"/usr/bin/nwg-bar + install -m644 -D -t "$pkgdir"/usr/share/nwg-bar ./config/* + install -m644 -D -t "$pkgdir"/usr/share/nwg-bar/images ./images/* +} + +sha512sums=" +3b5290e7ee49ec6303dace6987fc32b9d632bc574adcb2be3881d5535f6b50ba102aa9a2688875d3c2d06df0772008f2ae3eb642b7b16f227ea23e8e62362998 nwg-bar-0.0.1.tar.gz +" -- 2.35.1