# Contributor: Zach DeCook <zachdecook@librem.one>
maintainer="Zach DeCook <zachdecook@librem.one>"
pkgname=hyprland-protocols
pkgver=0.6.4
pkgrel=0
pkgdesc="Wayland protocol extensions for Hyprland"
url="https://github.com/hyprwm/hyprland-protocols"
arch="noarch"
license="BSD-3-Clause"
source="https://github.com/hyprwm/hyprland-protocols/archive/v$pkgver/hyprland-protocols-v$pkgver.tar.gz"
makedepends="meson"
subpackages="$pkgname-doc"

build() {
	abuild-meson . output
	meson compile -C output
}

check() {
	meson test -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
	install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}


sha512sums="
81de4cdfc3123387dbcbaa588ea3b160977f318dfe07646c923e0401d5143318f6939a1636060fc2954270c9817ef89a0f415117cbdadce6ab4d212df1949bae  hyprland-protocols-v0.6.4.tar.gz
"
