# Maintainer: Natanael Copa pkgname=libx11 pkgver=1.6.8 pkgrel=1 pkgdesc="X11 client-side library" url="http://xorg.freedesktop.org/" arch="all" license="custom:XFREE86" subpackages="$pkgname-static $pkgname-dev $pkgname-doc" depends_dev="libxcb-dev xtrans" makedepends="$depends_dev xorgproto util-macros xmlto" source="https://www.x.org/releases/individual/lib/libX11-$pkgver.tar.bz2" builddir="$srcdir"/libX11-$pkgver # secfixes: # 1.6.6-r0: # - CVE-2018-14598 # - CVE-2018-14599 # - CVE-2018-14600 build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --with-xcb make } check() { cd "$builddir" make check } package() { cd "$builddir" make DESTDIR="$pkgdir" install install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING } sha512sums="1de8e0ec466308bc48946d1ce7a7dc6bd3120b1b365cd01afd1bd51dd7369e3d1870dd379b0b7c5b07699095d59761bd23e2e02ab60929de32c39b6885016e76 libX11-1.6.8.tar.bz2"