# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Valery Kartel <valery.kartel@gmail.com>
setvar pkgname = 'wayland-protocols'
setvar pkgver = '1.10'
setvar pkgrel = '0'
setvar pkgdesc = ""Protocols and protocol extensions complementing the Wayland core protocol""
setvar url = ""http://wayland.freedesktop.org""
setvar arch = ""noarch""
setvar license = ""MIT""
setvar depends = ''
setvar provides = ""$pkgname-dev""
setvar makedepends = ""wayland-dev""
setvar subpackages = ''
setvar options = ""!check""
setvar source = ""https://wayland.freedesktop.org/releases/$pkgname-$pkgver.tar.xz""
setvar builddir = ""$srcdir/$pkgname-$pkgver""

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

proc package {
	make DESTDIR="$pkgdir" \
		-C $builddir install
}

setvar sha512sums = ""4cecee723c67b483ecb2a1e36e415935a90f080307531d8fb27cb3f0fe1ae10c1f2aae9b919c8744c2e33cb52943d15202aee960302763a338bdcd16fea7aeb5  wayland-protocols-1.10.tar.xz""