cruxports/labwc/Pkgfile

29 lines
730 B
Plaintext
Raw Normal View History

2022-12-28 09:02:52 -05: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-09-29 11:18:16 -04:00
version=0.6.5
2022-12-28 09:02:52 -05:00
release=1
2023-08-19 16:05:53 -04:00
source=(https://github.com/$name/$name/archive/$version/$name-$version.tar.gz)
2022-12-28 09:02:52 -05:00
build() {
2023-09-29 11:18:16 -04:00
prt-get isinst xorg-xwayland || PKGMK_LABWC="-D xwayland=disabled"
2022-12-28 09:02:52 -05:00
2023-09-29 11:18:16 -04: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
2023-02-10 20:54:34 -05:00
2023-09-29 11:18:16 -04:00
ninja -C bld -j ${JOBS:-1}
DESTDIR=$PKG ninja -C bld install
2023-02-10 20:54:34 -05:00
2023-09-29 11:18:16 -04:00
rm -rf $PKG/usr/share/locale
find $PKG/usr/share/doc -name README -delete
2022-12-28 09:02:52 -05:00
}