# Maintainer: PktSurf <smlinux@pktsurf.in>
app=xfce4-wavelan-plugin
version=0.6.2
build=1sml
homepage="https://docs.xfce.org/panel-plugins/xfce4-wavelan-plugin"
download="https://archive.xfce.org/src/panel-plugins/xfce4-wavelan-plugin/0.6/xfce4-wavelan-plugin-$version.tar.bz2"
desc="Xfce panel plugin to display wifi connectivity monitor"
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="
96b8fa09c9f9d01a575627b23ddd5503d9437e04a17ad724f499c74bb0312d030116b13f28481bb5794ebb2c9c7b69b04121f8bf52ee5aa38b0fda19a2b0ae9a  xfce4-wavelan-plugin-0.6.2.tar.lz
"
