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