aboutsummaryrefslogtreecommitdiffstats
path: root/main/xcb-util/APKBUILD
blob: 5f479efe55067761b861f3a6dbad08a5715b314c (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xcb-util
pkgver=0.4.0
pkgrel=0
pkgdesc="Utility libraries for XC Binding"
url="http://xcb.freedesktop.org"
arch="all"
license="GPL"
depends_dev="libxcb-dev"
makedepends="$depends_dev m4 gperf"
subpackages="$pkgname-dev"
source="http://xcb.freedesktop.org/dist/$pkgname-$pkgver.tar.bz2"
builddir="$srcdir/$pkgname-$pkgver"

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

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

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