maintainer="hexaheximal <hexaheximal@proton.me>"
pkgname=mbwl
pkgdesc="The tinywl-based Mediaberry Wayland compositor"
pkgver=0.1.0_git20251129
_commit="08ecb71ab363f987cc4afda9385e4cc0d7e8d8ab"
pkgrel=0
url="https://codeberg.org/mediaberry/mbwl"
arch="all"
options="!check" # no testsuite
license="GPL-3.0-or-later"
source="$pkgname-$pkgver.tar.gz::https://codeberg.org/mediaberry/mbwl/archive/$_commit.tar.gz"
makedepends="
	wayland-protocols
	wlroots0.18-dev
"
builddir="$srcdir/mbwl"

build() {
	make
}

package() {
	install -Dm 755 bin/mbwl \
		-t "$pkgdir"/usr/bin/
}

sha512sums="
cd38012576966e64228d47fdf9cc6f69ef2e72f1960ec715df80536df22cfc11bab63d2af9ca9504104b5f08b00d662667e6db65f85423e2583dbce7fa57fad7  mbwl-0.1.0_git20251129.tar.gz
"
