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://wayland.freedesktop.org/releases/$pkgname-$pkgver.tar.xz"{,.sig})
14 sha256sums=('c553384c1c68afd762fa537a2569cc9074fe7600da12d3472761e77a2ba56f13'
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: