archrelease: copy trunk to extra-x86_64
[arch-packages.git] / wayland / trunk / PKGBUILD
blob80ce15a2c49cea1badd98432ee8984118332d780
1 # Maintainer: Sébastien Luttringer <seblu@archlinux.org>
2 # Contributor: Tom Gundersen <teg@jklm.no>
3 # Contributor: Joel Teichroeb <joel@teichroeb.net>
5 pkgbase=wayland
6 pkgname=(wayland wayland-docs)
7 pkgver=1.21.0
8 pkgrel=1
9 pkgdesc='A computer display server protocol'
10 arch=('x86_64')
11 url='https://wayland.freedesktop.org/'
12 license=('MIT')
13 depends=('glibc' 'libffi' 'expat' 'libxml2')
14 makedepends=('meson' 'libxslt' 'doxygen' 'xmlto' 'graphviz' 'docbook-xsl')
15 options=('debug')
16 validpgpkeys=('C7223EBE4EF66513B892598911A30156E0E67611'  # Bryce Harrington
17               'C0066D7DB8E9AC6844D728715E54498E697F11D7'  # Derek Foreman
18               '34FF9526CFEF0E97A340E2E40FDE7BE0E88F5E48') # emersion <contact@emersion.fr>
19 source=("https://gitlab.freedesktop.org/wayland/wayland/-/releases/1.21.0/downloads/wayland-$pkgver.tar.xz"{,.sig})
20 sha256sums=('6dc64d7fc16837a693a51cfdb2e568db538bfdc9f457d4656285bb9594ef11ac'
21             'SKIP')
23 build() {
24   arch-meson $pkgbase-$pkgver build
25   meson compile -C build
28 check() {
29   meson test -C build --print-errorlogs
32 package_wayland() {
33   provides=(libwayland-{client,cursor,egl,server}.so)
35   meson install -C build --destdir "$pkgdir"
36   mkdir -p docs/share
37   mv "$pkgdir"/usr/share/{doc,man} docs/share
38   install -Dm 644 $pkgbase-$pkgver/COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
41 package_wayland-docs() {
42   pkgdesc+=" (documentation)"
43   depends=()
45   mv docs "$pkgdir/usr"
46   install -Dm 644 $pkgbase-$pkgver/COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
49 # vim:set ts=2 sw=2 et: