# Maintainer: PktSurf <smlinux@pktsurf.in>
app=xfdesktop
version=4.16.0
build=1sml
homepage="https://docs.xfce.org/xfce/xfdesktop/start"
download="https://archive.xfce.org/xfce/4.16/src/xfdesktop-$version.tar.bz2"
desc="Xfce Desktop Manager"
requires="exo garcon libxfce4ui thunar"

prepbuilddir() {
  mkandenterbuilddir
  rm -rf $app-$version

  tar xf $srcdir/$app-$version.tar.?z*
  cd $app-$version
  fixbuilddirpermissions
}

build() {

  ./configure \
    --prefix="" \
    --enable-thunarx \
    --enable-notifications 

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
70ce063b7ed853457997ff27051a207b7e879567c78ca95f690fef09b0495d860eb8a834556bb01585aa6ac3e77edc1e324f5fbe6c3a29134fa05e33f5ccc0f4  xfdesktop-4.16.0.tar.lz
"
