summaryrefslogtreecommitdiffstats
path: root/main/wayland/APKBUILD
blob: 8e3eadcc750bd278f91c4c59b2d78dedc2ae4324 (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
# Maintainer:
# Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org>

pkgname=wayland
pkgver=1.7.0
pkgrel=0
pkgdesc='A computer display server protocol'
arch=all
url='http://wayland.freedesktop.org'
license='MIT'
depends=
makedepends='doxygen libffi-dev expat-dev xmlto graphviz grep'
subpackages="$pkgname-dev $pkgname-doc"
source="http://wayland.freedesktop.org/releases/$pkgname-$pkgver.tar.xz"

_builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$_builddir"

	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--disable-static || return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
	find "$pkgdir" -name \*.la -delete || return 1
}

md5sums="6f46ac47c3a18c6503a40b5fa58a1066  wayland-1.7.0.tar.xz"
sha256sums="bdea47a2db96f7e53f1ce0351559c0af5b7f7aae7e95f0a884a78af9f1057c9c  wayland-1.7.0.tar.xz"
sha512sums="2475a5e8c2ef5c4bc97d90f946a89e4155d840a342886a7634df5423e5764973dbf5d721e1a8a941b7bd2305017cdcb74af7a29bee7bb8b58373306e5c03add7  wayland-1.7.0.tar.xz"