APP=libxrender
VERSION=0.9.10
BUILD=1sml
HOMEPAGE="https://xorg.freedesktop.org/"
DOWNLOAD="https://www.x.org/releases/individual/lib/libXrender-0.9.10.tar.bz2"
DESC="X Rendering Extension client library"
REQUIRES="libx11 "

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

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

  CFLAGS="$CFLAGS -DHAVE__XEATDATAWORDS=1" \
  ./configure \
    --prefix="" \
    --disable-static 

  make
  make install DESTDIR=$PKG

  cp COPYING $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
55eb43e88be08140b4bdb6fe22d239238712ee293734d1e21789a575366c47c4f05828f6b4e75da288525ddd0a9d168c29d6968680dfa444d118a0b5c418da1b  libXrender-0.9.10.tar.lz
"
