Subject: [PATCH] testing/nwg-bar: new aport

From: Edd Salkield <[email-masked]>
Date: Wed, 6 Apr 2022 12:00:53 +0100

https://github.com/nwg-piotr/nwg-bar
GTK3-based button bar for sway and other wlroots-based compositors
---
 testing/nwg-bar/APKBUILD | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 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..fa7b2382d9
--- /dev/null
+++ b/testing/nwg-bar/APKBUILD
@@ -0,0 +1,28 @@
+# Contributor: Edd Salkield <[email-masked]>
+# Maintainer: Edd Salkield <[email-masked]>
+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"
+depends="gtk+3.0 gtk-layer-shell"
+makedepends="go"
+source="$pkgname-$pkgver.tar.gz::https://github.com/nwg-piotr/nwg-bar/archive/refs/tags/v$pkgver.tar.gz"
+options="!check"	# 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