# Maintainer: PktSurf <smlinux@pktsurf.in>
app=xfce4-datetime-plugin
version=0.8.1
build=1sml
homepage="https://docs.xfce.org/panel-plugins/xfce4-datetime-plugin"
download="https://archive.xfce.org/src/panel-plugins/xfce4-datetime-plugin/0.8/xfce4-datetime-plugin-$version.tar.bz2"
desc="Xfce panel plugin to show date and time"
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="
f58a8b39ed21764c0453fb41263fce52ac10e5711056bd4dded030754fbbcda61d82782049e423021119053200af5eb3bf680e733b3f6a31216e2423355e2fa7  xfce4-datetime-plugin-0.8.1.tar.lz
"
