app=sane-frontends
version=1.0.14
build=1sml
homepage="http://www.sane-project.org"
download="https://gitlab.com/sane-project/frontends/uploads/14e5c5a9205b10bd3df04501852eab28/sane-frontends-1.0.14.tar.gz"
desc="Frontend for the SANE image scanning library"
requires="sane-backends"

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

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

  ./configure \
    --prefix="" \
    --sysconfdir=/etc \
    --mandir=/share/man \
    $builddist

  make
  make install DESTDIR=$pkg 

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
5c973904856fbacc1895225e3b72f3ebfa2a5b82cb5de0b746443efd1ac2ccd54cf0c29b27fb8251b30d13861c1bbab0d0f589fad4cf4447f4a529c3be17d7d2  sane-frontends-1.0.14.tar.xz
"
