Files
binary-repo/hyprland/wm/hyprland/ympbuild
T
2025-07-27 08:26:24 +00:00

37 lines
1008 B
Bash

#!/usr/bin/env bash
name='hyprland'
release='2'
version='0.49.0'
url='https://github.com/hyprwm/hyprland'
description="Hyprland is an independent, highly customizable, dynamic tiling Wayland compositor that doesn't sacrifice on its looks."
email='aliriza.keskin@pardus.org.tr'
maintainer='aliriza'
license=('GPLv3')
source=("https://github.com/hyprwm/Hyprland/releases/download/v$version/source-v$version.tar.gz")
depends=(hyprcursor libXcursor libglvnd libinput libxcb libxcb libxkbcommon mesa pango util-linux xcb-util-errors xcb-util-wm hyprgraphics re2)
makedepends=(glaze)
sha256sums=('fd96fb043cfeda09a1ab9a5eb69fee55562475c0c6a41f79dad2bcc652dc5730')
group=(hyprland.wm)
uses=()
arch=('x86_64')
cd hyprland-source
setup () {
meson setup build \
--prefix=/usr \
-Dsystemd=disabled
}
build () {
ninja -C build $jobs
}
package () {
ninja -C build install $jobs
# fix absolute path symlink
rm -f $DESTDIR/usr/bin/hyprland
ln -s Hyprland $DESTDIR/usr/bin/hyprland
}