app=ristretto
version=0.12.2
build=1sml
homepage="https://docs.xfce.org/apps/ristretto/start"
download="https://archive.xfce.org/src/apps/ristretto/0.12/ristretto-0.12.2.tar.bz2"
desc="Lightweight image viewer for Xfce"
requires="file libexif libxfce4ui tumbler xfconf"

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

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

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

  make
  make install DESTDIR=$pkg
  
  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
39fc5868c3858e3667660b6411b3d39c19a2306be3d169e499aa11aff34a24e0ee8e745e15dfe301be48e1c6adce30129ed76270b025f5160cfa773467764379  ristretto-0.12.2.tar.bz2
"