APP=xsetroot
VERSION=1.1.2
BUILD=1sml
HOMEPAGE="https://xorg.freedesktop.org/"
DOWNLOAD="https://xorg.freedesktop.org/archive/individual/app/xsetroot-1.1.2.tar.bz2"
DESC="Classic X utility to set your root window background to a given pattern or color"
REQUIRES="libxmu libxcursor libx11"

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

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

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

  make
  make install DESTDIR=$PKG

  cp COPYING $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
d3828e2c200a92b5fcd0f1b1a16c4c9ce3356e945dd4df2e16637b7a09dc62879a7e7942a32533e2ed8ffca6a50e1b4798f4b608e737396de72fb36beb8c0229  xsetroot-1.1.2.tar.lz
"
