From ace8ace4894378c22f35bcb59eb5a3f176c3af28 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Thu, 8 Jan 2026 16:51:05 -0500 Subject: [PATCH] new bblfs: dev-libs/hyprland-protocols-0.6.4 --- dev-libs/hyprland-protocols-0.6.4.PKGBUILD | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 dev-libs/hyprland-protocols-0.6.4.PKGBUILD diff --git a/dev-libs/hyprland-protocols-0.6.4.PKGBUILD b/dev-libs/hyprland-protocols-0.6.4.PKGBUILD new file mode 100644 index 0000000..60aa240 --- /dev/null +++ b/dev-libs/hyprland-protocols-0.6.4.PKGBUILD @@ -0,0 +1,31 @@ +pkgname=hyprland-protocols +pkgver=0.6.4 +pkgdesc='Wayland protocol extensions for Hyprland' +arch=(x86_64 aarch64) +homepage="https://github.com/hyprwm/$pkgname" +license=(BSD-3-Clause) +makedepends=(meson) +sources=("${pkgname}-${pkgver}.tar.gz") +urls=("https://github.com/hyprwm/${pkgname}/archive/v${pkgver}.tar.gz") +md5sums=("6550272ae760ffce75cedb9f32a9d778") + +src_prepare() { + tar -xf ${distdir}/${sources[0]} --strip-components=1 +} + +src_build() { + local meson_args=( + --prefix=/usr + --buildtype=release + --wrap-mode=nodownload + ) + meson setup build "${meson_args[@]}" + meson compile -C build +} + +src_install() { + DESTDIR="$pkgdir" meson install -C build + install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE +} + +# vim:ft=sh syn=sh et sw=2: