app=xfce4-systemload-plugin
version=1.3.1
build=1sml
homepage="https://docs.xfce.org/panel-plugins/xfce4-systemload-plugin"
download="https://archive.xfce.org/src/panel-plugins/xfce4-systemload-plugin/1.3/xfce4-systemload-plugin-1.3.1.tar.bz2"
desc="System load plugin for the Xfce panel"
requires="xfce4-panel"

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

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

  ./configure \
    --prefix="" \
    --sysconfdir=/etc \
    --localstatedir=/var \
    --disable-static

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
2b2285c5960a5728dd7818f90605848e462fe5fef8643ff5be64b7087225399395ace5ec8013f6795d410b0acf79ec77c14e2ed0e56007cfe6f13133ba708876  xfce4-systemload-plugin-1.3.1.tar.bz2
"