aboutsummaryrefslogtreecommitdiffstats
path: root/main/wayland-protocols/APKBUILD
blob: 2ee9fbff141ee405289004d73c72d04cf041d4ec (plain)
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: Valery Kartel <valery.kartel@gmail.com>
pkgname=wayland-protocols
pkgver=1.16
pkgrel=0
pkgdesc="Protocols and protocol extensions complementing the Wayland core protocol"
url="http://wayland.freedesktop.org"
arch="noarch"
license="MIT"
depends=
provides="$pkgname-dev"
makedepends="wayland-dev"
subpackages=
source="https://wayland.freedesktop.org/releases/$pkgname-$pkgver.tar.xz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make -C "$builddir" check
}

package() {
	make -C "$builddir" DESTDIR="$pkgdir" install
}

sha512sums="8ab33021854f3e8f6bca7a9e69427e7a3e53297cc0abd4c006de7e55fac66da3ad88489a6eb4e6c28c7ba2addd96e7f055309f3c8918643b18ef78a4fb637f84  wayland-protocols-1.16.tar.xz"