pkgname=wayland-protocols pkgver=1.38 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=('ff17292c05159d2b20ce6cacfe42d7e31a28198fa1429a769b03af7c38581dbe') 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 }