# Maintainer: Natanael Copa pkgname=fribidi pkgver=1.0.13 pkgrel=0 pkgdesc="Free Implementation of the Unicode Bidirectional Algorithm" url="https://github.com/fribidi/fribidi" arch="all" license="LGPL-2.1-or-later" makedepends="meson" subpackages="$pkgname-doc $pkgname-static $pkgname-dev" source="https://github.com/fribidi/fribidi/releases/download/v$pkgver/fribidi-$pkgver.tar.xz" # secfixes: # 1.0.12-r0: # - CVE-2022-25308 # - CVE-2022-25309 # - CVE-2022-25310 # 1.0.7-r1: # - CVE-2019-18397 build() { abuild-meson \ -Ddefault_library=both \ . output meson compile -C output } check() { meson test --no-rebuild --print-errorlogs -C output } package() { DESTDIR="$pkgdir" meson install --no-rebuild -C output } sha512sums=" 09357d842ff9e05b918f826e28e4a25ad996e17f73242ee9ce53fae9f37ec6c639f9cae4271577f6e0269f34265afc893858225c4a94610f0a6ee7580fb1fe07 fribidi-1.0.13.tar.xz "