# Description: an independent, highly customizable, dynamic tiling Wayland compositor # URL: https://hypr.land/ # Maintainer: KRAK3N Team, extra ports at krak3n dot my # Depends on: hyprland-protocols udis86 xcb-util-errors xcb-util-wm libxcursor re2 libxkbcommon hyprgraphics hyprcursor aquamarine name=hyprland version=0.51.1 release=1 source=(https://github.com/hyprwm/Hyprland/archive/v${version}/Hyprland-v${version}.tar.gz) build() { cd Hyprland-$version mkdir -p cmakebuild cd cmakebuild cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_SYSCONFDIR=/etc \ -DCMAKE_INSTALL_LIBDIR=lib \ -DCMAKE_BUILD_TYPE=Release \ -DFETCHCONTENT_FULLY_DISCONNECTED=ON \ -DCMAKE_C_FLAGS_RELEASE="$CFLAGS" \ -DCMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \ -DNO_HYPRPM=enabled \ -DNO_TESTS=enabled \ -DNO_SYSTEMD=enabled \ -DNO_UWSM=enabled \ -B build .. cmake --build build DESTDIR=$PKG cmake --install build }