{% set name = "pdf2svg" %}
{% set version = "0.2.3" %}

package:
  name: {{ name|lower }}
  version: {{ version }}

source:
  url: https://github.com/dawbarton/{{ name }}/archive/v{{ version }}.tar.gz
  sha256: 4fb186070b3e7d33a51821e3307dce57300a062570d028feccd4e628d50dea8a

build:
  number: 0
  skip: True  # [win]

requirements:
  build:
    - {{ compiler('c') }}
  host:
    - m4
    - autoconf
    - automake
    - libtool
    - pkg-config
    - poppler
    - cairo
  run:
    - poppler
    - cairo

test:
  commands:
    - pdf2svg --help

about:
  home: https://github.com/dawbarton/pdf2svg
  license: GPL-2.0
  license_family: GPL
  license_file: LICENSE.txt
  summary: 'A simple PDF to SVG converter using the Poppler and Cairo libraries'

extra:
  recipe-maintainers:
    - ostrokach

{% set name = "pdf2svg" %}
{% set version = "0.2.3" %}

package:
  name: {{ name|lower }}
  version: {{ version }}

source:
  url: https://github.com/dawbarton/{{ name }}/archive/v{{ version }}.tar.gz
  sha256: 4fb186070b3e7d33a51821e3307dce57300a062570d028feccd4e628d50dea8a

build:
  number: 0
  skip: True  # [win]

requirements:
  build:
    - {{ compiler('c') }}
  host:
    - m4
    - autoconf
    - automake
    - libtool
    - pkg-config
    - poppler
    - cairo
  run:
    - poppler
    - cairo

test:
  commands:
    - "pdf2svg --help | grep "Usage: pdb2svg"

about:
  home: https://github.com/dawbarton/pdf2svg
  license: GPL-2.0
  license_family: GPL
  license_file: LICENSE.txt
  summary: 'A simple PDF to SVG converter using the Poppler and Cairo libraries'

extra:
  recipe-maintainers:
    - ostrokach

Update test command (pdf2svg does not accept --help argument)
Update test command (pdf2svg does not accept --help argument)
