# Maintainer: Christoph Reiter pkgname=xorgproto pkgver=2025.1 pkgrel=1 pkgdesc="combined X.Org X11 Protocol headers" arch=(any) license=('custom') groups=('development') conflicts=('xproto') provides=('xproto') replaces=('xproto') url="https://xorg.freedesktop.org/" msys2_references=( "anitya: 17190" ) makedepends=('meson' 'ninja' 'gcc') source=("https://xorg.freedesktop.org/archive/individual/proto/${pkgname}-${pkgver}.tar.xz") sha256sums=('56898c716c0578df8a2d828c9c3e5c528277705c0484381a81960fe1a67668e8') prepare() { cd "${pkgname}-${pkgver}" } build() { mkdir "${srcdir}"/build && cd "${srcdir}"/build meson setup \ --wrap-mode=nodownload \ --auto-features=enabled \ --buildtype=plain \ --prefix=/usr \ "../${pkgname}-${pkgver}" meson compile } package() { cd "${srcdir}"/build DESTDIR="$pkgdir" meson install }