app=xcb-proto
version=1.14
build=1sml
homepage="https://xcb.freedesktop.org/"
download="https://xorg.freedesktop.org/releases/individual/proto/xcb-proto-$version.tar.xz"
desc="XML-XCB protocol descriptions"
requires="python3"

build() {
  mkandenterbuilddir
  rm -rf $app-$version

  tar xf $srcdir/$app-$version.tar.?z*
  cd $app-$version
  fixbuilddirpermissions

  ./configure \
    --prefix="/"

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
de66d568163b6da2be9d6c59984f3afa3acd119a781378638045fd68018665ef5c9af98f024e9962ba3eb7c7a4d85c27ba70ffafceb2324ccc6940f34de16690  xcb-proto-1.14.tar.xz
"
