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-0.4.0.tar.bz2"
desc="Plugin to create and extract archives in Thunar"
requires="xfce4-dev-tools 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="
6590d8765ac6eab14fae7758e4c47c66b52e79e2e4b01a86d25bd35492590925ca35e4bbade8a9d8f0c73386eaeda6863e2a7a39a2df2904404f7e2bfdd91a44  thunar-archive-plugin-0.4.0.tar.bz2
"