~alpine/aports

testing/wob: new aport v1 APPLIED

Galen Abell: 1
 testing/wob: new aport

 1 files changed, 42 insertions(+), 0 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/aports/patches/3140/mbox | git am -3
Learn more about email & git

[PATCH] testing/wob: new aport Export this patch

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 <galen@galenabell.com>
# Maintainer: Galen Abell <galen@galenabell.com>
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