summaryrefslogblamecommitdiff
path: root/user/libxcb/APKBUILD
blob: 53db51310e94df5354d8c641389e6070c9e41622 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                 
             




                                  
          










                                                                        
                                   

















                                                                            
                                                                                                                                                                    
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libxcb
pkgver=1.13.1
pkgrel=0
pkgdesc="X11 C language Binding"
url="https://xcb.freedesktop.org/"
arch="all"
license="X11"
depends=""
subpackages="$pkgname-dev $pkgname-doc"
depends_dev="libxau-dev xcb-proto"
checkdepends="check-dev"
makedepends="$depends_dev libxslt python3 libpthread-stubs libxdmcp-dev"
source="https://xcb.freedesktop.org/dist/$pkgname-$pkgver.tar.bz2"

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

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

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}

sha512sums="763edff9572623674f75a858adc57b5c09591f508cc5d5093218e7bb047abdbe0a0108bd465419a8bf15c7dcdc85efdd2d4d9fd56605c41475d15dc992640c23  libxcb-1.13.1.tar.bz2"