makedepends=(glib)

packager="Great-OS Team"
maintainer="Great-OS Team"

description="A Free Implementation of the Unicode Bidirectional Algorithm"
url="http://fribidi.freedesktop.org/wiki/"

name=fribidi
version=1.0.16
release=3

source=(https://github.com/$name/$name/releases/download/v$version/$name-$version.tar.xz)

build() {

  mkdir -v build && cd build

  meson --prefix=/usr \
        --libdir=/usr/lib \
        -D docs=false \
        ../$name-$version

  ninja
}

package() {
  DESTDIR=$PKG ninja -C build install
}
