summaryrefslogtreecommitdiff
path: root/user/xcb-util/APKBUILD
blob: cb0f0046ebad8f4fc6e9a1d3349c98546821b583 (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
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=xcb-util
pkgver=0.4.0
pkgrel=2
pkgdesc="Utility libraries for X C-language Binding"
url="https://xcb.freedesktop.org/"
arch="all"
license="X11"
depends=""
depends_dev="libxcb-dev util-macros"
checkdepends="check-dev"
makedepends="$depends_dev m4 gperf"
subpackages="$pkgname-dev"
source="https://xcb.freedesktop.org/dist/$pkgname-$pkgver.tar.bz2"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--disable-static
	make
}

check() {
	make check
}

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

sha512sums="e60aaa6f582eacd05896c5fd7c8417938318a1288146f3a5b339f77eed24e211c6099963f8813daa621c94173d2934228936b491c0ed79b09a8a67d835867d0e  xcb-util-0.4.0.tar.bz2"