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

24 lines
532 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:
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