# Maintainer: PktSurf <smlinux@pktsurf.in>
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-$version.tar.bz2"
desc="Lightweight image viewer for Xfce"
requires="file libexif libxfce4ui tumbler xfconf"

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

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

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

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

  mkfinalpkg
}

sha512sums="
9ef6fc92258e314fdfc8f051061eb5499857831f6323831ecbeeee110eca6584043abcc15749fab90b46cb536a4815da8eceb226251e122e31fd4037c301350b  ristretto-0.12.2.tar.lz
"
