# Contributor: Leo # Maintainer: pkgname=gtk-layer-shell pkgver=0.5.2 pkgrel=0 pkgdesc="Create panels and other desktop components in Wayland using the Layer Shell protocol" url="https://github.com/wmww/gtk-layer-shell" arch="all" license="MIT" makedepends="meson wayland-dev gtk+3.0-dev gobject-introspection-dev" subpackages="$pkgname-dev" source="$pkgname-$pkgver.tar.gz::https://github.com/wmww/gtk-layer-shell/archive/v$pkgver.tar.gz" build() { abuild-meson \ -Dexamples=false \ -Ddocs=false \ -Dtests=true \ . output meson compile ${JOBS:+-j ${JOBS}} -C output } check() { meson test --no-rebuild -v -C output } package() { DESTDIR="$pkgdir" meson install --no-rebuild -C output } sha512sums="3c8254e3812af52844e3c3aa4fe96553a33964db2234758eb734e4207ff9591f0c9541e064a348ad64e6272ec90359ba5687d557fd1693b70a9d06c541e79a58 gtk-layer-shell-0.5.2.tar.gz"