# $Id: PKGBUILD 22380 2008-12-26 16:33:15Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=poppler-data
pkgver=0.4.3
pkgrel=1
pkgdesc="Encoding data for the poppler PDF rendering library"
arch=(any)
license=('custom' 'GPL2')
conflicts=('poppler<0.10.5')
url="http://poppler.freedesktop.org/"
source=(http://poppler.freedesktop.org/${pkgname}-${pkgver}.tar.gz)
md5sums=('2d648047e5d0b315df1571b460ee6a96')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make prefix=/usr DESTDIR="${pkgdir}" install

  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
  install -m644 COPYING COPYING.adobe \
    "${pkgdir}/usr/share/licenses/${pkgname}/"
}