app=wayland-protocols
version=1.25
build=1sml
homepage="https://wayland.freedesktop.org/"
download="https://wayland.freedesktop.org/releases/wayland-protocols-$version.tar.xz"
desc="Specifications of extended wayland protocols"
requires="wayland"

build() {
  mkandenterbuilddir
  rm -rf $app-$version

  tar xf $srcdir/$app-$version.tar.?z*
  cd $app-$version 
  fixbuilddirpermissions

  mkdir smbuild && cd smbuild
  meson .. \
    --prefix="/" 

  ninja
  DESTDIR=$pkg ninja install

  cp ../COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
8269694a0780e4d32f1982ff4cbb50b1ef85f08157b9486bc6d7e489c64665a9d9f959121d0eede7c7b108a604d974b64d74cfdef8b5f14304465309afb0768f  wayland-protocols-1.25.tar.xz
"
