mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 14:57:15 +08:00
35 lines
1018 B
Bash
35 lines
1018 B
Bash
#
|
|
# Platform Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# Maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
|
|
|
|
pkgname=libxcb
|
|
pkgver=1.9
|
|
pkgrel=2
|
|
pkgdesc="X11 client-side library"
|
|
arch=(x86_64)
|
|
url="http://xcb.freedesktop.org/"
|
|
depends=('xcb-proto>=1.6' 'libxdmcp' 'libxau')
|
|
makedepends=('pkgconfig' 'libxslt' 'python')
|
|
conflicts=('libx11<1.1.99.2')
|
|
options=('!libtool')
|
|
license=('custom')
|
|
source=(${url}/dist/${pkgname}-${pkgver}.tar.bz2
|
|
libxcb-1.1-no-pthread-stubs.patch)
|
|
sha1sums=('ad2fb95eeec41ba3d39502a4f7460c3b64fdf061'
|
|
'4fd68570c793af070988ba75a2b79de5d9f9e66e')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
patch -Np1 -i "${srcdir}/libxcb-1.1-no-pthread-stubs.patch"
|
|
PYTHON=/usr/bin/python2 ./autogen.sh --prefix=/usr --enable-xinput --enable-xkb
|
|
make
|
|
}
|
|
|
|
package () {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
|
|
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
|
|
}
|