# Maintainer: PktSurf <smlinux@pktsurf.in>
app=xfce4-diskperf-plugin
version=2.6.3
build=1sml
homepage="https://docs.xfce.org/panel-plugins/xfce4-diskperf-plugin"
download="https://archive.xfce.org/src/panel-plugins/xfce4-diskperf-plugin/2.6/xfce4-diskperf-plugin-$version.tar.bz2"
desc="Xfce panel plugin to show disk and partition performance"
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="
a354ebc4056ce1447c0d2c97a9848d3038c9e5a78e8442d992bce3700e0e1c67353a970f7dc55ec861dc1621439d0a7c3d6b51b2267477ab15357cb522f20e34  xfce4-diskperf-plugin-2.6.3.tar.lz
"
