APP=libxscrnsaver
VERSION=1.2.3
BUILD=1sml
HOMEPAGE="https://xorg.freedesktop.org/"
DOWNLOAD="https://www.x.org/releases/individual/lib/libXScrnSaver-1.2.3.tar.bz2"
DESC="Xlib-based X11 Screen Saver extension client library"
REQUIRES="libxcb libxext "

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="
4e6a0de9e0d31d3b4af8ebc0733dbad48b07a689630356d6ebda4bc1053c1383b1bf64a8b5af9b3b6a8ba90de1f465b6599c8c08e243220b62387accc7d81e3e  libxscrnsaver-1.2.3.tar.lz
"
