| # Copyright 1999-2022 Gentoo Authors |
| # Distributed under the terms of the GNU General Public License v2 |
| |
| EAPI=7 |
| |
| DESCRIPTION="Data files for poppler to support uncommon encodings without xpdfrc" |
| HOMEPAGE="https://poppler.freedesktop.org/" |
| SRC_URI="https://poppler.freedesktop.org/${P}.tar.gz" |
| |
| LICENSE="BSD GPL-2 MIT" |
| SLOT="0" |
| KEYWORDS="*" |
| |
| src_install() { |
| emake prefix="${EPREFIX}"/usr DESTDIR="${D}" install |
| |
| # bug #409361 |
| dodir /usr/share/poppler/cMaps |
| cd "${ED}"/usr/share/poppler/cMaps || die |
| find ../cMap -type f -exec ln -s {} . \; || die |
| } |