APP=libxpresent
VERSION=1.0
BUILD=1sml
HOMEPAGE="https://gitlab.freedesktop.org/xorg/lib/libxpresent"
DESC="X Present Extension library"
REQUIRES="libxfixes libxrandr "

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

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

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

  make
  make install DESTDIR=$PKG

  cp COPYING $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
007cb41076b893236ede31d475ee477830aeb6b175fcbaf9ce64a41aaf3b5b8f6eb4a4d7b67bd43914f4a98dd343c50cf99268b7c1d93f7ed5f366a23e2c7fb7  libxpresent-1.0.tar.lz
"
