mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
32 lines
1 KiB
Bash
32 lines
1 KiB
Bash
# Maintainer: Alexander Baldeck <alexander@archlinux.org>
|
|
# Contributor: Jan de Groot <jgc@archlinux.org>
|
|
|
|
pkgname=libxcb
|
|
pkgver=1.2
|
|
pkgrel=1
|
|
pkgdesc="X11 client-side library"
|
|
arch=('arm')
|
|
url="http://xcb.freedesktop.org/"
|
|
depends=('xcb-proto>=1.4' '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)
|
|
md5sums=('ae32b7846a7d83f5ec542a5431117564'
|
|
'a53f09ab3ec5cbfc1b0848bd137c535a')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
patch -Np1 -i "${srcdir}/libxcb-1.1-no-pthread-stubs.patch" || return 1
|
|
libtoolize --force --copy || return 1
|
|
aclocal || return 1
|
|
autoconf || return 1
|
|
automake --add-missing || return 1
|
|
./configure --prefix=/usr --enable-xinput || return 1
|
|
make || return 1
|
|
make DESTDIR="${pkgdir}" install || return 1
|
|
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
|
|
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
|
|
}
|