1 # Maintainer: NeoRaider <neoraider@universe-factory.net>
4 pkgname=${_pkgname}-git
7 pkgdesc="X11 client-side library (git version)"
9 url="http://xcb.freedesktop.org/"
10 depends=('xcb-proto-git' 'libxdmcp' 'libxau')
11 makedepends=('pkgconfig' 'libxslt' 'python' 'autoconf')
12 conflicts=('libx11<1.1.99.2' 'libxcb')
13 provides=('libxcb=1.7')
16 source=(libxcb-1.1-no-pthread-stubs.patch)
17 sha1sums=('3455e84642283bc91c8313af319002a20bbcbdf4')
19 _gitroot="git://git.freedesktop.org/git/xcb/libxcb"
25 msg "Connecting to git.freedesktop.org GIT server...."
27 if [ -d $_gitname ] ; then
28 cd $_gitname && git pull origin
29 msg "The local files are updated."
34 msg "GIT checkout done or server timeout"
35 msg "Starting make..."
37 rm -rf "${srcdir}/build"
38 cp -r "${srcdir}/${_gitname}" "${srcdir}/build"
41 patch -Np1 -i "${srcdir}/libxcb-1.1-no-pthread-stubs.patch"
43 ./autogen.sh --prefix=/usr --enable-xinput
49 make DESTDIR="${pkgdir}" install
51 install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
52 install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"