1 # Maintainer: Sébastien Luttringer <seblu@seblu.net>
3 pkgname=wayland-protocols
6 pkgdesc='Specifications of extended Wayland protocols'
8 url='https://wayland.freedesktop.org/'
10 makedepends=('wayland' 'meson' 'ninja')
11 validpgpkeys=('8307C0A224BABDA1BABD0EB9A6EEEC9E0136164A' # Jonas Ådahl
12 'A66D805F7C9329B4C5D82767CCC4F07FAC641EFF') # Daniel Stone
13 source=("https://gitlab.freedesktop.org/wayland/$pkgname/-/releases/$pkgver/downloads/$pkgname-$pkgver.tar.xz"{,.sig})
14 sha256sums=('a07fa722ed87676ec020d867714bc9a2f24c464da73912f39706eeef5219e238'
19 # apply patch from the source array (should be a pacman feature)
21 for src in "${source[@]}"; do
24 [[ $src = *.patch ]] || continue
25 echo "Applying patch $src..."
26 patch -Np1 < "../$src"
31 meson build $pkgname-$pkgver --buildtype=release --prefix=/usr
40 DESTDIR="$pkgdir" ninja -C build install
42 install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m 644 "$pkgname-$pkgver/COPYING"
45 # vim:set ts=2 sw=2 et: