summaryrefslogtreecommitdiff
path: root/user/libxcb/APKBUILD
blob: 32b9425ca5c8de9ac582b1dbf062e868de8951e4 (plain) (blame)
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: A. Wilcox <awilfox@adelielinux.org>
pkgname=libxcb
pkgver=1.17.0
pkgrel=0
pkgdesc="X11 C language Binding"
url="https://xcb.freedesktop.org/"
arch="all"
license="X11"
depends=""
depends_dev="libxau-dev xcb-proto"
checkdepends="check-dev"
subpackages="$pkgname-dev $pkgname-doc"
makedepends="$depends_dev libxslt python3 libxdmcp-dev"
source="https://www.X.org/releases/individual/lib/$pkgname-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--target=$CTARGET \
		--prefix=/usr \
		--enable-xkb \
		--enable-xinput \
		--disable-xprint \
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="945b1f28e8b407a4d0ebf88c99ef3cbef763fd75e6eaa8e971946e44ce8dbe9b478c56ae85aaaadab7fdb25987e88570d9d4fb9ad2febd6d6bf21d644a0e10d0  libxcb-1.17.0.tar.xz"