aboutsummaryrefslogtreecommitdiffstats
path: root/main/wayland-protocols/APKBUILD
blob: 8ae7ae1ae843282aafe843487f5bb17eccd5f8bd (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.17
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="5f3aacbba58717092036659d9b665dc10ff05ee51df61b1de38b22f0417285a74fd8a6d15ca049ad60d204f28203aa13d773c52140c7c02db2c498a6964c2643  wayland-protocols-1.17.tar.xz"