summaryrefslogblamecommitdiff
path: root/user/xcb-util/APKBUILD
blob: 90b9053bfbddad63e05873a705119bf35fc7f29f (plain) (tree)
1
                                                 

































                                                                                                                                                                     
# 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_dev="libxcb-dev util-macros"
makedepends="$depends_dev m4 gperf"
checkdepends="check-dev"
subpackages="$pkgname-dev"
source="https://xcb.freedesktop.org/dist/$pkgname-$pkgver.tar.bz2"

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

check() {
	cd "$builddir"
	make check
}

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

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