APP=libxcomposite
VERSION=0.4.5
BUILD=1sml
HOMEPAGE="https://xorg.freedesktop.org/"
DOWNLOAD="https://www.x.org/releases/individual/lib/libXcomposite-0.4.5.tar.gz"
DESC="X11 Composite extension library"
REQUIRES="libxfixes"

build() {
  mkandenterbuilddir
  rm -rf libXcomposite-$VERSION

  tar xf $SRCDIR/libXcomposite-$VERSION.tar.?z*
  cd libXcomposite-$VERSION
  fixbuilddirpermissions

  ./configure \
    --prefix="" \
    --disable-static \
    $BUILDDIST

  make
  make install DESTDIR=$PKG

  cp COPYING $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
305b99589eeaf8ba5f51149c47b7e31da38e3f40b1b05665e33f6b67103c4d7bb63e9b069b2a4569cf0e779245a194b337a9421effed7f33f8223bf5b6ddec3c  libXcomposite-0.4.5.tar.lz
"
