pkgname=libx11 pkgver=1.8.9 pkgrel=1 pkgdesc="X11 client-side library" arch=('x86_64') url="https://xorg.freedesktop.org/" depends=('libxcb' 'xorgproto') makedepends=('xorg-util-macros' 'xtrans') options=('!libtool') license=('custom') source=("https://xorg.freedesktop.org/releases/individual/lib/libX11-${pkgver}.tar.xz") sha256sums=('779d8f111d144ef93e2daa5f23a762ce9555affc99592844e71c4243d3bd3262') build() { cd libX11-${pkgver} ./configure --prefix=/usr \ --disable-static \ --disable-xf86bigfont make } check() { cd libX11-${pkgver} make check } package() { cd libX11-${pkgver} make DESTDIR=${pkgdir} install install -d -m755 ${pkgdir}/usr/share/licenses/${pkgname} install -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/ }