pantry/projects/poppler.freedesktop.org/poppler-data/package.yml
Max Howell 81e7a5e16f
pkgx
2023-10-01 14:44:42 -04:00

23 lines
657 B
YAML

distributable:
url: https://poppler.freedesktop.org/poppler-data-{{version}}.tar.gz
strip-components: 1
versions:
gitlab: gitlab.freedesktop.org:poppler/poppler-data/tags
strip: /^POPPLER_DATA_/
build:
dependencies:
script: |
# datadir is for pkgconfig files, needed by poppler itself to find its own data files
make install prefix={{prefix}} datadir={{prefix}}/lib pkgdatadir={{prefix}}/share/poppler
# create a symlink in case something is expecting the .pc in share
ln -s {{prefix}}/lib/pkgconfig {{prefix}}/share/
test:
dependencies:
freedesktop.org/pkg-config: '*'
script: |
pkg-config --cflags poppler-data