compat-32/xorg-libxcb-32/Pkgfile

25 lines
625 B
Plaintext

# Description: X11 client-side library
# URL: https://xcb.freedesktop.org/
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
# Depends on: libinput-32 libpthread-stubs-32 libxslt-32 xorg-libxau-32 xorg-libxcb xorg-libxdmcp-32
name=xorg-libxcb-32
version=1.17.0
release=1
source=(https://xorg.freedesktop.org/archive/individual/lib/libxcb-$version.tar.xz)
build() {
cd libxcb-$version
export PKG_CONFIG_LIBDIR='/usr/lib32/pkgconfig:/usr/share/pkgconfig'
PYTHON=/usr/bin/python3 \
./configure \
--prefix=/usr \
--libdir=/usr/lib32
make
make DESTDIR=$PKG install
rm -r $PKG/usr/{include,share}
}