2 # Contributor: Daniel Bermond < yahoo-com: danielbermond >
7 pkgdesc='A library that encapsulates the logic for complex text layout'
9 url='https://github.com/HOST-Oman/libraqm/'
11 depends=(freetype2 fribidi)
12 makedepends=(meson gtk-doc)
13 source=(https://github.com/HOST-Oman/libraqm/releases/download/v$pkgver/raqm-$pkgver.tar.xz
14 https://github.com/HOST-Oman/libraqm/commit/819a3e9c.patch)
15 sha256sums=('92e765f180033ef3750832eb6fee4e07de3f99bd3d1eae7cf7e4e390ed2ae8eb'
16 '320a26e63954e760c526b7bb5e2f9526cb76cdd7be2d3ad3e3883b32634e3c99')
19 patch -d raqm-$pkgver -p1 < 819a3e9c.patch # Fix meson library version
23 meson build raqm-$pkgver \
26 meson compile -C build
30 meson install -C build --destdir "$pkgdir"
32 install -D -m644 raqm-$pkgver/COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE