Subject: [PATCH] testing/wob: new aport

From: Galen Abell <[email-masked]>
Date: Fri, 22 Nov 2019 13:45:44 +0100

https://github.com/francma/wob
A lightweight overlay volume/backlight/progress/anything bar for Wayland.
testing/
---
 testing/wob/APKBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)
 create mode 100644 testing/wob/APKBUILD

diff --git a/testing/wob/APKBUILD b/testing/wob/APKBUILD
new file mode 100644
index 0000000000..072f2e36f4
--- /dev/null
+++ b/testing/wob/APKBUILD
@@ -0,0 +1,42 @@
+# Contributor: Galen Abell <[email-masked]>
+# Maintainer: Galen Abell <[email-masked]>
+pkgname="wob"
+pkgver="0.4"
+_wlr_commit="59497d93794efac39d8c85b1d964ad8a461cbeb6" # git hash for wlr-protocols
+pkgrel=0
+pkgdesc="A lightweight overlay volume/backlight/progress/anything bar for Wayland."
+url="https://github.com/francma/wob"
+arch="all"
+license="ISC"
+makedepends="meson git wayland-protocols wayland-dev"
+source="
+	wob-$pkgver.tar.gz::https://github.com/francma/wob/archive/$pkgver.tar.gz
+	wlr-protocols-$_wlr_commit.tar.gz::https://github.com/swaywm/wlr-protocols/archive/$_wlr_commit.tar.gz
+	"
+builddir="$srcdir/wob-$pkgver"
+
+prepare() {
+	default_prepare
+	mv "$srcdir/wlr-protocols-$_wlr_commit"/* "$builddir"/wlr-protocols
+}
+
+build() {
+	meson \
+		--prefix=/usr \
+		--sysconfdir=/etc \
+		--mandir=/usr/share/man \
+		--localstatedir=/var \
+		--buildtype=release \
+		build-release
+	ninja -C build-release
+}
+
+check() {
+	ninja -C build-release test
+}
+
+package() {
+	DESTDIR="$pkgdir" ninja -C build-release install
+}
+sha512sums="01222db5eee86ec2c9312e1eed00e491810317f78e11b4066494fd98270c31ed2fabe30e466ed0bccf3daee9c30f749c7ea956b46349a7a8ba4104d95549280f  wob-0.4.tar.gz
+7782c52d250dcda1b224dd8beca266392460e5622a53893ea81b578a0ff59e7e4e5ab7268b4db092e8da7ed50c209daece9b53bfd6ba834ad0a8e6a719cb69a7  wlr-protocols-59497d93794efac39d8c85b1d964ad8a461cbeb6.tar.gz"
-- 
2.24.0