# Maintainer: PktSurf <smlinux@pktsurf.in>
app=xfce4-dict
version=0.8.4
build=1sml
homepage="https://docs.xfce.org/apps/xfce4-dict/start"
download="https://archive.xfce.org/src/apps/xfce4-dict/0.8/xfce4-dict-$version.tar.bz2"
desc="Dictionary plugin for Xfce panel"
requires="librsvg 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="
583a3b15c0daf8c1916579ac589f1ed36090fd2e162e2c22d09a7fe23bba365b59d47faf0766822d4cb2fab8ffc99b0c2f87616ceec65480703d667d59c1b95a  xfce4-dict-0.8.4.tar.lz
"
