# Maintainer: PktSurf <smlinux@pktsurf.in>
app=xsetroot
version=1.1.3
build=1sml
homepage="https://xorg.freedesktop.org/"
download="https://xorg.freedesktop.org/archive/individual/app/xsetroot-$version.tar.xz"
desc="Classic X utility to set your root window background to a given pattern or color"
requires="libxmu libxcursor libx11"

prepbuilddir() {
  mkandenterbuilddir
  rm -rf $app-$version

  tar xf $srcdir/$app-$version.tar.?z*
  cd $app-$version
  fixbuilddirpermissions
}

build() {
  ./configure \
    --prefix=

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
62a69051a565d6dbc875d38ffd4c68fa9e48c217455dba774cb7af8ef3db0a86d62209f93ed9b2b4ba5324a0f6eb413fbf3246a37273e9d192600c8340bc1310  xsetroot-1.1.3.tar.lz
"
