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-4.16.0.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"

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

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

  ./configure \
    --prefix="" \
    --sysconfdir=/etc \
    --enable-gio-unix \
    --enable-gudev \
    --enable-exif \
    --enable-pcre 

  make
  make install DESTDIR=$pkg

  cp COPYING* $pkgdocs/

  mkfinalpkg
}

sha512sums="
761bc2b2106db523b5b56b9f330a42e487aeccd144d2118956a67d6935ee6d795edf543a815c3e035dd7cc4b0965679811d39d9c5e6b6f7ca84eb362f22561e0  thunar-4.16.2.tar.bz2
"
