pkgname=wayland-protocols pkgver=1.34 pkgrel=1 pkgdesc='Contains protocols and protocol extensions complementing the Wayland core protocol with additional functionality.' arch=('x86_64') url='https://wayland.freedesktop.org' license=('MIT') options=('!libtool') depends=('wayland') makedepends=('meson' 'ninja') source=("https://gitlab.freedesktop.org/wayland/${pkgname}/-/releases/${pkgver}/downloads/${pkgname}-${pkgver}.tar.xz") sha256sums=('c59b27cacd85f60baf4ee5f80df5c0d15760ead6a2432b00ab7e2e0574dcafeb') build() { mkdir -p build cd build meson setup ../${pkgname}-${pkgver} \ --prefix=/usr \ --buildtype=release ninja } package() { cd build DESTDIR=${pkgdir} ninja install install -Dm644 ../${pkgname}-${pkgver}/COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING }