cruxports/labwc/Pkgfile

29 lines
714 B
Plaintext
Raw Normal View History

2022-12-28 14:02:52 +00:00
# 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
2023-08-19 20:05:53 +00:00
version=0.6.4
2022-12-28 14:02:52 +00:00
release=1
2023-08-19 20:05:53 +00:00
source=(https://github.com/$name/$name/archive/$version/$name-$version.tar.gz)
2022-12-28 14:02:52 +00:00
build() {
2023-02-11 01:54:34 +00:00
prt-get isinst xorg-xwayland || PKGMK_LABWC="-D xwayland=disabled"
2022-12-28 14:02:52 +00:00
2023-02-11 01:54:34 +00:00
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
2022-12-28 14:02:52 +00:00
}