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-1.4.0.tar.bz2"
desc="Network load plugin for 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

  make
  make install DESTDIR=$pkg

  mkfinalpkg
}

sha512sums="
b9740251a81382f25ed3c89f10e842ef5432e36696df304a2b038d4a0a0a8c49d9988fff5274f3421870afe4f8cca1755222d6e7c514cea51e6eea7235a00382  xfce4-netload-plugin-1.4.0.tar.bz2
"