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

# source: BLFS 7.5
TARBALL=libxcb-$PKGVER.tar.bz2
MD5SUM=28e552bd78bc1050b6b26ca1db0e5bb6
SRC_URL=http://xcb.freedesktop.org/dist/$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
### defaulg pkg_prepare
### default pkg_package
### build
pkg_build() {
	CONFFLAGS="$XORG_CONFIG --docdir=/usr/share/doc/libxcb-$PKGVER \
            --enable-xinput --enable-xkb"

	cd /tmp/libxcb*
	sed -e "s/pthread-stubs//" -i configure.ac &&
	autoreconf -fiv  &&	
	pkg_build_autoconf && pkg_build_slackdesc
}
