cruxports/cagebreak/Pkgfile

24 lines
701 B
Plaintext
Raw Normal View History

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
2022-08-06 09:43:46 -04:00
version=1.9.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
meson bld $PKGMK_OPTS
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
}