cruxports/cagebreak/Pkgfile

26 lines
741 B
Plaintext
Raw Normal View History

2022-05-02 12:38:55 +00: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
2023-08-30 11:57:48 +00:00
version=2.2.1
2022-05-02 12:38:55 +00: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 setup bld $PKGMK_OPTS
2022-05-02 12:38:55 +00:00
2022-12-23 13:51:25 +00:00
ninja -C bld -j ${JOBS:-1}
2022-05-02 12:38:55 +00:00
DESTDIR=$PKG ninja -C bld install
2023-05-31 21:29:01 +00:00
rm -rf $PKG/usr/share/licenses
2022-05-02 12:38:55 +00:00
}