# Maintainer: PktSurf <smlinux@pktsurf.in>
app=xcb-proto
version=1.15.2
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"

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

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

build() {
  ./configure \
    --prefix="/" 

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
b048bdc40716c9cad0655fb35031a9b93e9c72f5bc6d40548f44b287d485139a6d4f29c2d0bd98c8bd76b7c4d01bffbfa7e37710fe11fd1414dbd3280120221e  xcb-proto-1.15.2.tar.lz
"
