app=poppler-data
version=0.4.8
build=1sml
homepage="https://poppler.freedesktop.org/"
download="https://poppler.freedesktop.org/poppler-data-0.4.8.tar.gz"
desc="Add-ons for the poppler PDF rendering library"
requires="poppler"

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

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

  make prefix="" install DESTDIR="$pkg"
  cp COPYING* $pkgdocs/

  mkdir -p $pkg/lib/pkgconfig
  ( cd $pkg ; mv share/pkgconfig/* lib/pkgconfig/ )

  mkfinalpkg
}

sha512sums="
b3ae834510c3b10d40862be3adb3279a804d809498258cbc4d09c3f470bcb5e6b05a62db935c9a437e663705f72c40d402352112f2f2c1256240af2aeea1cdd9  poppler-data-0.4.8.tar.lz
"
