app=thunar-volman
version=4.16.0
build=1sml
homepage="https://docs.xfce.org/xfce/thunar/thunar-volman"
download="https://archive.xfce.org/xfce/4.16/src/thunar-volman-4.16.0.tar.bz2"
desc="Plugin to auto-manage removable devices in Thunar"
requires="libxfce4ui thunar"

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

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

  ./configure \
    --prefix="" \
    --sysconfdir=/etc \
    --localstatedir=/var \
    --disable-static 

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
33b7561e55491b793aa634dfa0b108788286e6b7a2f60a781b8ba10f73de74630520736ae99c4db66ae2da562a82bb1a6bdacd8307d6d452f26e647da6471af8  thunar-volman-4.16.0.tar.bz2
"