# Maintainer: PktSurf <smlinux@pktsurf.in>
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-$version.tar.bz2"
desc="File system usage 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

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
350485341152f9113049e273df61f1cdc8185880d7f2d93a283b842b91f46e1d8f4e2fe5f943b1ac1e11e2e2be37f76e0162e1fbb2cf0c819141f552f574702c  xfce4-fsguard-plugin-1.1.2.tar.lz
"
