24 lines
687 B
Plaintext
24 lines
687 B
Plaintext
|
# 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
|
||
|
version=1.9.0
|
||
|
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
|
||
|
meson bld $PKGMK_OPTS
|
||
|
|
||
|
ninja -C bld
|
||
|
DESTDIR=$PKG ninja -C bld install
|
||
|
}
|