blob: 74c401ffa96de2552f3c3fb51039bab51d286b95 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# Maintainer: Vincent Grande <shoober420@gmail.com>
# Contributor: Alexander Baldeck <alexander@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=lib32-libxcb-git
pkgver=1.14
pkgrel=1
pkgdesc="X11 client-side library (32-bit)"
arch=(x86_64)
url="https://xcb.freedesktop.org/"
depends=('lib32-libxdmcp' 'lib32-libxau' 'libxcb')
makedepends=('pkgconfig' 'libxslt' 'python' 'xorg-util-macros' 'gcc-multilib'
'autoconf' 'xorgproto')
provides=(lib32-libxcb)
conflicts=(lib32-libxcb)
license=('custom')
source=("git+https://gitlab.freedesktop.org/xorg/lib/libxcb")
sha512sums=('SKIP')
pkgver() {
cd libxcb
git describe --tags | sed 's/-/+/g'
}
build() {
cd libxcb
export CC="gcc -m32"
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
# workaround for FS#49560
export CFLAGS="${CFLAGS} -O1"
./autogen.sh \
--prefix=/usr \
--enable-xinput \
--enable-xkb \
--libdir=/usr/lib32 \
--without-doxygen \
--disable-static
make
}
package() {
cd libxcb
make DESTDIR="${pkgdir}" install
rm -rf "${pkgdir}"/usr/{include,share}
mkdir -p "$pkgdir/usr/share/licenses"
ln -s libxcb "$pkgdir/usr/share/licenses/lib32-libxcb"
}
|