2022-05-02 08:38:55 -04:00
|
|
|
# Description: tiling wayland window manager similar to ratpoison
|
|
|
|
# URL: https://github.com/project-repo/cagebreak/
|
|
|
|
# Maintainer: John McQuah, jmcquah at disroot dot org
|
|
|
|
# Depends on: wlroots libxkbcommon
|
|
|
|
# Optional: scdoc xorg-xwayland
|
|
|
|
|
|
|
|
name=cagebreak
|
2024-02-26 11:46:28 -05:00
|
|
|
version=2.3.1
|
2022-05-02 08:38:55 -04:00
|
|
|
release=1
|
|
|
|
source=(https://github.com/project-repo/$name/archive/$version/$name-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
PKGMK_OPTS="--prefix=/usr --buildtype=release -Db_lto=true -Db_pie=true"
|
|
|
|
prt-get isinst xorg-xwayland && PKGMK_OPTS+=" -Dxwayland=true"
|
|
|
|
prt-get isinst scdoc && PKGMK_OPTS+=" -Dman-pages=true"
|
|
|
|
|
|
|
|
cd $name-$version
|
|
|
|
mkdir -p bld
|
2023-01-14 21:25:22 -05:00
|
|
|
meson setup bld $PKGMK_OPTS
|
2022-05-02 08:38:55 -04:00
|
|
|
|
2022-12-23 08:51:25 -05:00
|
|
|
ninja -C bld -j ${JOBS:-1}
|
2022-05-02 08:38:55 -04:00
|
|
|
DESTDIR=$PKG ninja -C bld install
|
2023-05-31 17:29:01 -04:00
|
|
|
|
|
|
|
rm -rf $PKG/usr/share/licenses
|
2022-05-02 08:38:55 -04:00
|
|
|
}
|