cruxports/labwc/Pkgfile

29 lines
730 B
Plaintext

# Description: stacking wayland window manager, supporting openbox themes
# URL: https://github.com/labwc/labwc/
# Maintainer: John McQuah, jmcquah at disroot dot org
# Depends on: wlroots pango
# Optional: xorg-xwayland
name=labwc
version=0.6.5
release=1
source=(https://github.com/$name/$name/archive/$version/$name-$version.tar.gz)
build() {
prt-get isinst xorg-xwayland || PKGMK_LABWC="-D xwayland=disabled"
cd $name-*
mkdir -p bld
meson setup bld --prefix=/usr $PKGMK_LABWC \
--wrap-mode=nodownload \
-Dman-pages=enabled \
-Db_lto=true \
-Db_pie=true
ninja -C bld -j ${JOBS:-1}
DESTDIR=$PKG ninja -C bld install
rm -rf $PKG/usr/share/locale
find $PKG/usr/share/doc -name README -delete
}