# Maintainer: PktSurf <smlinux@pktsurf.in>
app=xfce4-netload-plugin
version=1.4.0
build=1sml
homepage="https://docs.xfce.org/panel-plugins/xfce4-netload-plugin"
download="https://archive.xfce.org/src/panel-plugins/xfce4-netload-plugin/1.4/xfce4-netload-plugin-$version.tar.bz2"
desc="Network load plugin for 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=""

  make
  make install DESTDIR=$pkg

  mkfinalpkg
}

sha512sums="
e8d95f8845f3017ebe73b47fcc32d6f7df99e0fdbc46b3632b5fed646ccd3374fe25b0908456dd7465d3e3ee8a321c39cb8f305aee12fab58de5f18c07a94ff6  xfce4-netload-plugin-1.4.0.tar.lz
"
