APP=libxdamage
VERSION=1.1.5
BUILD=1sml
HOMEPAGE="https://xorg.freedesktop.org/"
DOWNLOAD="https://www.x.org/releases/individual/lib/libXdamage-1.1.5.tar.gz"
DESC="X11 damaged region extension library"
REQUIRES="libxfixes"

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

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

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

  make
  make install DESTDIR=$PKG

  cp COPYING $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
de0e51d682c4513238e74fa1d8d6ccd3d6f85174659f588517d052cfae12bb659b4b7946ff57d7b3cce41f5f24239309c115720c58af7d8c459dd59ff0ca125d  libXdamage-1.1.5.tar.lz
"
