# Maintainer: PktSurf <smlinux@pktsurf.in>
app=thunar
version=4.16.2
build=1sml
homepage="https://docs.xfce.org/xfce/thunar/start"
download="https://archive.xfce.org/xfce/4.16/src/thunar-$version.tar.bz2"
desc="Modern file manager for Xfce Desktop Environment"
requires="desktop-file-utils libexif libgudev libpng pcre libnotify libxfce4util libxfce4ui exo tumbler gobject-introspection"

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

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

build() {
  ./configure \
    --prefix="" \
    --enable-gio-unix \
    --enable-gudev \
    --enable-exif \
    --enable-pcre 

  make
  make install DESTDIR=$pkg

  cp COPYING* $pkgdocs/

  mkfinalpkg
}

sha512sums="
bdb5942d92af6e7ef4170964e67a5f5e5ed975e0f068e53e7bf1110f4128f9ab203b275b20742c9897a9d9822a90c5b1bffba94afa67e7597ca3d4d63d7dbe84  thunar-4.16.2.tar.lz
"
