app=xarchiver
version=0.5.4.14
build=1sml
homepage="http://xarchiver.sourceforge.net/"
desc="Archive manager for X with support for most common archive formats"
requires="gdk-pixbuf"

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

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

  ./configure \
    --prefix="" \
    --sysconfdir=/etc \
    --enable-gtk2 

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
3c22fa31c875d9f04d5990d7a1c4ca857832b913479ca1dfabde222a9d1ba7d9904ff4b68145b8ab6d9973c02635c0635a72e999b95f10b851734d87adbffa22  xarchiver-0.5.4.14.tar.lz
"
