aboutsummaryrefslogtreecommitdiffstats
path: root/main/wayland/APKBUILD
blob: ef4c33803aac8b1e555e392347849aeb4e2e63b9 (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.6.1
pkgrel=0
pkgdesc='A computer display server protocol'
arch=all
url='http://wayland.freedesktop.org'
license='MIT'
depends=
makedepends='doxygen libffi-dev expat-dev'
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="feaa0754fe49931a3fe5aa98f7d1e0e9  wayland-1.6.1.tar.xz"
sha256sums="d1aeb95b433cab33a928b56cb80efa551802e0a064adb4a8ea1517249d3c10b0  wayland-1.6.1.tar.xz"
sha512sums="28a0980ece2fb4ba0ca688f3913ffba34c2741167d7686be80cfbc9cb56f995282a68173d69d2849eb5c2986684ebe6d5cfaca04518ab74a4512c8dfb4d8d0c2  wayland-1.6.1.tar.xz"