# Maintainer: PktSurf <smlinux@pktsurf.in>
app=thunar-archive-plugin
version=0.4.0
build=1sml
homepage="https://docs.xfce.org/xfce/thunar/archive"
download="https://archive.xfce.org/src/thunar-plugins/thunar-archive-plugin/0.4/thunar-archive-plugin-$version.tar.bz2"
desc="Plugin to create and extract archives in Thunar"
requires="xfce4-dev-tools 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="
91882d89bef2875a46524eb1a16f203e1b54cc63082807fd02d2327d5fdfdffacb8e47e163fe2f79a0c222d48c4314bfa25f664c9c40b7ed3a014335e1214381  thunar-archive-plugin-0.4.0.tar.lz
"
