### this file is sourced not run
PKGVER=1.15
PKGBUILD=1
PKGARCH=x86_64

# source: BLFS 11.3
TARBALL=libxcb-$PKGVER.tar.xz
MD5SUM=39c0fc337e738ad6c908e7cce90957d0
SRC_URL=https://xorg.freedesktop.org/archive/individual/lib/$TARBALL
BUNDLE=

SLACKREQ='libXau libXdmcp'
SLACKDESC="libxcb: libxcb $PKGVER (X11 interface library)  
libxcb:  
libxcb: The libxcb package provides an interface to the X Window System 
libxcb: protocol, which replaces the current Xlib interface. Xlib can also use 
libxcb: XCB as a transport layer, allowing software to make requests and 
libxcb: receive responses with both.  
libxcb: 
libxcb: 
libxcb: 
libxcb: 
libxcb:
"

### default pkg_download
### prepare
pkg_prepare() {
	pkg_prepare_default &&
	cd tmp/libxcb* &&
	# patch
	true
}

### default pkg_package
### build
pkg_build() {
	CONFFLAGS="$XORG_CONFIG --docdir=/usr/share/doc/libxcb-$PKGVER \
		--enable-xprint --enable-xprint --enable-xevie"

	PYTHON=python3 pkg_build_autoconf && pkg_build_slackdesc
}
