# Maintainer: PktSurf <smlinux@pktsurf.in>
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-$version.tar.bz2"
desc="System load plugin for the Xfce panel"
requires="xfce4-panel"

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

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

build() {
  ./configure \
    --prefix="" \
    --disable-static

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
3a05924693be074a8ddbd1a6811e3dd367a0524ff6d31dc42bf50985b54f46054db5a4543b94e1948f97e2f066ca277ad41b727af1d7f47dac9d21592dc6e496  xfce4-systemload-plugin-1.3.1.tar.lz
"
