# Contributor: Galen Abell # Maintainer: Galen Abell 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 " 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"