app=xfce4-fsguard-plugin
version=1.1.2
build=1sml
homepage="https://docs.xfce.org/panel-plugins/xfce4-fsguard-plugin/start"
download="https://archive.xfce.org/src/panel-plugins/xfce4-fsguard-plugin/1.1/xfce4-fsguard-plugin-1.1.2.tar.bz2"
desc="File system usage 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

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
ff42f3d92292357f432a69fc401dec474b1eadabbcd7602f4453f7567faaa623d3672664c3a2baa98ea4e522c6a607b5a40327c5fea33b2d8535f15a4d511ebb  xfce4-fsguard-plugin-1.1.2.tar.bz2
"