# Maintainer: Lex Black _pkgname=labwc pkgname=labwc-git pkgver=0.5.0.r76.g5fd5024 pkgrel=2 pkgdesc='stacking wayland compositor with look and feel from openbox (git version)' url="https://github.com/labwc/labwc" arch=('x86_64') license=('GPL2') depends=('pango' 'seatd' 'wlroots>=0.16' 'wlroots<0.17' 'wayland' 'xorg-xwayland') makedepends=('git' 'meson' 'scdoc' 'wayland-protocols') optdepends=("bemenu: default launcher via Alt+F3") conflicts=(labwc) provides=(labwc) source=("git+https://github.com/labwc/${_pkgname}.git") md5sums=('SKIP') pkgver() { cd "$_pkgname" git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } build() { arch-meson -Dman-pages=enabled "$_pkgname" build meson compile -C build } package() { meson install -C build --destdir "$pkgdir" }