# Maintainer: PktSurf <smlinux@pktsurf.in>
app=xfce4-weather-plugin
version=0.11.0
build=1sml
homepage="https://docs.xfce.org/panel-plugins/xfce4-weather-plugin"
download="https://archive.xfce.org/src/panel-plugins/xfce4-weather-plugin/0.11/xfce4-weather-plugin-$version.tar.bz2"
desc="Weather plugin for Xfce panel"
requires="libsoup libxml2 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="
60fb097c9e206f1d7c5a5575f06e103036089fb54c218a0a297b7c197a1a59d5fb5c37f7d4e42e70fdbdb2ee1a082853617c0f209833a8f9809b8f750e0f0e33  xfce4-weather-plugin-0.11.0.tar.lz
"
