# Maintainer: Natanael Copa pkgname=xcb-proto pkgver=1.12 pkgrel=1 pkgdesc="XML-XCB protocol descriptions" url="https://xcb.freedesktop.org/" arch="noarch" license="custom" depends= makedepends="python3" # no testsuite options="!check" source="https://xcb.freedesktop.org/dist/$pkgname-$pkgver.tar.bz2 python3.patch" builddir="${srcdir}/${pkgname}-${pkgver}" build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ || return 1 make || return 1 } package() { cd "$builddir" make DESTDIR=${pkgdir} install || return 1 install -m755 -d ${pkgdir}/usr/share/licenses/${pkgname} install -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/ || return 1 } sha512sums="1f427eaf223971b25b56c9f641350e03f5ebeb17a1fc212ce2a0c892de7aba7e53d5e3958b073a122bb344c387c0ff394cf96f542ff046f33de4e1cd27fb9e5c xcb-proto-1.12.tar.bz2 291fb6410c656e3744ba51054cb51d25c10eb738223d65367b43dca7bfa8b82440e9c0836f615fcee64040e79087d68d25c2d329348623b936abb520a9135bfd python3.patch"