APP=fribidi
VERSION=1.0.9
BUILD=1sml
HOMEPAGE='https://github.com/fribidi/fribidi'
DOWNLOAD='https://github.com/fribidi/fribidi/releases/download/v1.0.9/fribidi-1.0.9.tar.xz'
DESC="Unicode BiDirectional algorithm library"
REQUIRES="musl"

build() {
  mkandenterbuilddir
  rm -rf $APP-$VERSION

  tar xf $SRCDIR/$APP-$VERSION.tar.?z*
  cd $APP-$VERSION
  fixbuilddirpermissions

  ./configure \
    --prefix="" \
    --disable-static 

  make
  make install DESTDIR=$PKG

  cp COPYING $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
88032eca39712493ffa6f2114bd75e7203b95fad1db1e619aaaf919df84a63869247a7fa56aa044c9475ae8027feff975ad35d0e6b5c3f1e85d5d8d4dd60c691  fribidi-1.0.9.tar.lz
"
