# Maintainer: PktSurf <smlinux@pktsurf.in>
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-$version.tar.bz2"
desc="Plugin to auto-manage removable devices in Thunar"
requires="libxfce4ui thunar"

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

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

build() {
  ./configure \
    --prefix="" \
    --disable-static 

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
ad239971f7454301b30f33d6cd0d7fec9ad736558d865ead461d4a11805f11002be9d1298f9981f4b978f2003ba3c4949cb0d5c81c962723a16ec199d19bba96  thunar-volman-4.16.0.tar.lz
"
