# Maintainer: PktSurf <smlinux@pktsurf.in>
app=xfce4-screenshooter
version=1.9.8
build=1sml
homepage="https://docs.xfce.org/apps/screenshooter/start"
download="https://archive.xfce.org/src/apps/xfce4-screenshooter/1.9/xfce4-screenshooter-$version.tar.bz2"
desc="Program to take screenshots in Xfce"
requires="libsoup xfce4-panel"

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="
a037f291dc1a128d41b7ece84310e45d9f93cc4a19c85ed8917a4fb514cf95caafc0886d43bc6255f3548976c160f2ce3612dc013caf605179af6ddaaa9eb0c1  xfce4-screenshooter-1.9.8.tar.lz
"
