summaryrefslogtreecommitdiff
path: root/user/wayland-protocols/APKBUILD
blob: b313fbc9530eb68a8e4cade29e32532e8903f661 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Sheila Aman <sheila@vulpine.house>
pkgname=wayland-protocols
pkgver=1.24
pkgrel=0
pkgdesc="Protocols and protocol extensions complementing the Wayland core protocol"
url="https://wayland.freedesktop.org"
arch="noarch"
license="MIT"
depends=""
makedepends="wayland-dev meson"
subpackages=""
provides="$pkgname-dev"
source="https://wayland.freedesktop.org/releases/$pkgname-$pkgver.tar.xz"

build() {
        meson \
                --prefix=/usr \
                --sysconfdir=/etc \
                --mandir=/usr/share/man \
                --localstatedir=/var \
                --buildtype=plain \
                -Ddocumentation=false \
		build

        ninja -C build
}

check() {
	ninja -C build test
}

package() {
        DESTDIR="$pkgdir" ninja -C build install
}

sha512sums="4b1122517db56f48a5fafd4bd0cb7f94faef6fdd2d80e6cec17e5a6bafbaf2f5a71b958ed12e6d13965494885c209b2fb6dd8331487b39c6f251e71f1e770a15  wayland-protocols-1.24.tar.xz"