summaryrefslogtreecommitdiff
path: root/user/wayland-protocols/APKBUILD
blob: 0972f74c00bf906ffca66ac6a20bd88b9041d87f (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
38
39
40
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Sile Ekaterin Liszka <sheila@vulpine.house>
pkgname=wayland-protocols
pkgver=1.25
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
	test.patch
	"

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="8269694a0780e4d32f1982ff4cbb50b1ef85f08157b9486bc6d7e489c64665a9d9f959121d0eede7c7b108a604d974b64d74cfdef8b5f14304465309afb0768f  wayland-protocols-1.25.tar.xz
659220b5e3fab4a2e6bb017d6fde33fd2cb1424e9e8778829c089e2f422abcdbaae44661ab9c62160046ccf8c3b397da055478194690de057758563d18c62610  test.patch"