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

pkgname=wayland
pkgver=1.8.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 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"
}

md5sums="6e877877c3e04cfb865cfcd0733c9ab1  wayland-1.8.1.tar.xz"
sha256sums="f17c938d1c24fd0a10f650a623a2775d329db3168b5732e498b08388ec776fc8  wayland-1.8.1.tar.xz"
sha512sums="392edd22203fc44a37a66d7a099d0534f047f49e91b28614092346f0167c07a39431c5919f2ea1deaf460dc53a77fba8504a7a7f5d03af638267c767bb07ae19  wayland-1.8.1.tar.xz"