# Maintainer: Lex Black _pkgname=labwc pkgname=labwc-git pkgver=0.6.6.r21.gaab8061d pkgrel=1 pkgdesc='stacking wayland compositor with look and feel from openbox (git version)' url="https://github.com/labwc/labwc" arch=('x86_64') license=('GPL2') depends=('libpng' 'librsvg' 'pango' 'seatd' 'wlroots>=0.17' 'wlroots<0.18' '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" }