# Contributor: Henrik Riomar # Maintainer: pkgname=wlroots pkgver=0.2 pkgrel=1 pkgdesc="A modular Wayland compositor library" url="https://github.com/swaywm/wlroots" arch="all" license="MIT" options="!check" # contains no test suite makedepends="eudev-dev libcap-dev libinput-dev libxcb-dev libxkbcommon-dev mesa-dev meson ninja pixman-dev wayland-dev wayland-protocols xcb-util-image-dev xcb-util-wm-dev " subpackages="$pkgname-dev" source="$pkgname-$pkgver.tar.gz::https://github.com/swaywm/$pkgname/archive/$pkgver.tar.gz" builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" meson build --prefix /usr ninja -C build } package() { cd "$builddir" DESTDIR="$pkgdir" ninja -C build install } sha512sums="b7727b29ed7e5188d5fa6099687f8e6f48b6b3f17f7a6e136956ad6b607054595de3779118bffd4b9730115eaca2f00c2d30d52f4915b2753a749432ec0c3f2a wlroots-0.2.tar.gz"