67 lines
1.4 KiB
Bash
67 lines
1.4 KiB
Bash
pkgname=hyprland
|
|
pkgver=0.49.0
|
|
pkgdesc='a highly customizable dynamic tiling Wayland compositor'
|
|
arch=(x86_64 aarch64)
|
|
homepage="https://github.com/hyprwm/${pkgname^}"
|
|
license=(BSD-3-Clause)
|
|
depends=(cairo
|
|
aquamarine
|
|
gcc
|
|
glibc
|
|
glib
|
|
hyprcursor
|
|
hyprgraphics
|
|
hyprlang
|
|
hyprutils
|
|
hyprwayland-scanner
|
|
libdisplay-info
|
|
libdrm
|
|
libglvnd
|
|
libinput
|
|
libxkbcommon
|
|
mesa # libgbm.so
|
|
pango
|
|
pixman
|
|
re2
|
|
seatd
|
|
systemd
|
|
tomlplusplus libtomlplusplus.so libudev.so
|
|
util-linux
|
|
wayland
|
|
wayland-protocols
|
|
)
|
|
makedepends=(cmake
|
|
glaze
|
|
hyprland-protocols
|
|
meson
|
|
ninja
|
|
)
|
|
sources=("${pkgname}-${pkgver}.tar.gz")
|
|
urls=("https://github.com/hyprwm/${pkgname}/archive/v${pkgver}.tar.gz")
|
|
md5sums=("b4fe6fe4b952e6f9c2a20e5f6f8d1840")
|
|
|
|
src_prepare() {
|
|
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
|
|
|
#sed -i -e "s|scripts/generateVersion.sh|echo|g" meson.build
|
|
}
|
|
|
|
src_build() {
|
|
local meson_args=(
|
|
--prefix=/usr
|
|
--buildtype=release
|
|
--wrap-mode=nodownload
|
|
-D legacy_renderer=disabled
|
|
-D systemd=enabled
|
|
-D xwayland=disabled
|
|
)
|
|
meson setup build "${meson_args[@]}"
|
|
meson compile -C build
|
|
}
|
|
|
|
src_install() {
|
|
DESTDIR="$pkgdir" meson install -C build
|
|
}
|
|
|
|
# vim:ft=sh syn=sh et sw=2:
|