# Maintainer: PktSurf <smlinux@pktsurf.in>
app=poppler-data
version=0.4.12
build=1sml
homepage="https://poppler.freedesktop.org/"
download="https://poppler.freedesktop.org/poppler-data-$version.tar.gz"
desc="Add-ons for the poppler PDF rendering library"
requires="poppler"

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

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

build() {
  make prefix= install DESTDIR="$pkg"
  cp COPYING* $pkgdocs/

  mkfinalpkg
}

sha512sums="
bd21c2c3236ca7ab4cf7b075bd3cb2b7a8a02394c455e3bc76e665d7f2e11b66efe687584093b05e5e8841bc35315f8511ddf94aad50fae6e37bb96ea356bdc3  poppler-data-0.4.12.tar.lz
"