aboutsummaryrefslogtreecommitdiffstats
path: root/main/wayland-protocols/APKBUILD
blob: 9432fd7803f2ec625a70b8c08ec8c22040c6cece (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
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Valery Kartel <valery.kartel@gmail.com>
pkgname=wayland-protocols
pkgver=1.7
pkgrel=3
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=
options="!check"
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 \
		|| return 1
	make || return 1
}

package() {
	make DESTDIR="$pkgdir" \
		-C "$builddir" install || return 1
}

sha512sums="291a3226cc538de3b81bdffa5de513b305a946bfc3481e21c254fcc6a023e0cf2ff1869509c7ae193da02460f1d4a3c5cd5f1ca13b2550886acffcc636fb30d2  wayland-protocols-1.7.tar.xz"