pantry/projects/gnu.org/fribidi/package.yml
2022-11-26 11:02:59 -05:00

26 lines
580 B
YAML

distributable:
url: https://github.com/fribidi/fribidi/releases/download/v{{ version }}/fribidi-{{ version }}.tar.xz
strip-components: 1
versions:
github: fribidi/fribidi
strip: /^FriBidi Version /
build:
dependencies:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
script: |
./configure --prefix={{prefix}} --disable-debug
make --jobs={{ hw.concurrency }} install
test:
fixture:
a _lsimple _RteST_o th_oat
script: |
out="$(fribidi --charset=CapRTL --clean --nobreak $FIXTURE)"
test "$out" = "a simple TSet that"
provides:
- bin/fribidi