pkgname=xcb-util pkgver=0.4.1 pkgrel=1 pkgdesc="Utility libraries for XC Binding" arch=('x86_64') url="https://xcb.freedesktop.org" license=('custom') depends=('libxcb') makedepends=('gperf' 'xorg-util-macros') options=('!libtool') source=("https://xcb.freedesktop.org/dist/${pkgname}-${pkgver}.tar.xz" 'LICENSE') sha256sums=('5abe3bbbd8e54f0fa3ec945291b7e8fa8cfd3cccc43718f8758430f94126e512' 'ded299aa179dcf0d885bf89274a4db77a530e03f9f5e7cf1c3c4ef1d60e914b9') build() { cd ${pkgname}-${pkgver} ./configure --prefix=/usr --disable-static make } package() { cd ${pkgname}-${pkgver} make DESTDIR=${pkgdir} install install -D -m644 ${srcdir}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE }