PKGBUILDs/extra/libxcb/PKGBUILD

33 lines
1 KiB
Bash
Raw Normal View History

2009-09-26 14:35:50 +00:00
# Maintainer: Alexander Baldeck <alexander@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
2009-10-11 18:11:41 +00:00
2009-09-26 14:35:50 +00:00
pkgname=libxcb
pkgver=1.2
pkgrel=1
pkgdesc="X11 client-side library"
2009-10-11 18:11:41 +00:00
arch=('arm')
2009-09-26 14:35:50 +00:00
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
2009-10-11 18:11:41 +00:00
libxcb-1.1-no-pthread-stubs.patch)
2009-09-26 14:35:50 +00:00
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
}